@@ -10,8 +10,8 @@ |
||
10 | 10 | */ |
11 | 11 | function msgRandom($length = 5): int |
12 | 12 | { |
13 | - $start = (int)str_pad(1, $length, '0', STR_PAD_RIGHT); |
|
14 | - $end = (int)str_pad(9, $length, '9', STR_PAD_RIGHT); |
|
13 | + $start = (int) str_pad(1, $length, '0', STR_PAD_RIGHT); |
|
14 | + $end = (int) str_pad(9, $length, '9', STR_PAD_RIGHT); |
|
15 | 15 | |
16 | 16 | return mt_rand($start, $end); |
17 | 17 | } |