We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
7 | class RoleUpdateCrudRequest extends FormRequest |
||
8 | { |
||
9 | /** |
||
10 | * Determine if the user is authorized to make this request. |
||
11 | * |
||
12 | * @return bool |
||
13 | */ |
||
14 | public function authorize() |
||
19 | |||
20 | /** |
||
21 | * Get the validation rules that apply to the request. |
||
22 | * |
||
23 | * @return array |
||
|
|||
24 | */ |
||
25 | public function rules() |
||
33 | } |
||
34 |
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.