Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function rules() |
||
38 | { |
||
39 | return [ |
||
40 | 'username' => 'required|alpha_dash|max:255|unique:'.config('rinvex.fort.tables.users').',username', |
||
41 | 'password' => 'required|min:'.config('rinvex.fort.passwordreset.minimum_characters'), |
||
42 | 'email' => 'required|email|max:255|unique:'.config('rinvex.fort.tables.users').',email', |
||
43 | 'gender' => 'in:male,female,undisclosed', |
||
44 | ]; |
||
45 | } |
||
46 | } |
||
47 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.