1 | <?php |
||
2 | |||
3 | namespace Thinkstudeo\Rakshak\Support; |
||
4 | |||
5 | class OtpToken |
||
6 | { |
||
7 | /** |
||
8 | * Generate a random 6 digit otp. |
||
9 | * |
||
10 | * @return void |
||
11 | */ |
||
12 | public static function generate() |
||
13 | { |
||
14 | return mt_rand(100000, 999999); |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
15 | } |
||
16 | } |
||
17 |