| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function rules() |
||
| 49 | { |
||
| 50 | return [ |
||
| 51 | 'username' => [ |
||
| 52 | 'required', |
||
| 53 | Rule::unique('admin_users')->ignore($this->username, 'username'), |
||
| 54 | 'max:190', |
||
| 55 | ], |
||
| 56 | 'name' => 'required|max:255', |
||
| 57 | 'password' => 'required|confirmed', |
||
| 58 | 'password_confirmation' => 'required', |
||
| 59 | 'permissions' => 'array', |
||
| 60 | 'roles' => 'array', |
||
| 61 | ]; |
||
| 64 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.