src/Leevel/Seccode/Seccode.php
protected function mtRand($numFirst, $numSecond): int
    {
        $numFirst = (int) ($numFirst);
        $numSecond = (int) ($numSecond);

        if ($numFirst > $numSecond) {
            list($numSecond, $numFirst) = [$numFirst, $numSecond];
        }

        return (int) (mt_rand($numFirst, $numSecond));
    }
protected function mtRand($numFirst, $numSecond): int
    {
        $numFirst = (int) ($numFirst);
        $numSecond = (int) ($numSecond);

        if ($numFirst > $numSecond) {
            list($numSecond, $numFirst) = [$numFirst, $numSecond];
        }

        return (int) (mt_rand($numFirst, $numSecond));
    }
生成随机数.

@param number $numFirst
@param number $numSecond

@return int