Issues (69)

src/Support/OtpToken.php (1 issue)

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
The expression return mt_rand(100000, 999999) returns the type integer which is incompatible with the documented return type void.
Loading history...
15
    }
16
}
17