We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 8 | class LanguageRequest extends CrudRequest |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Determine if the user is authorized to make this request. |
||
| 12 | * |
||
| 13 | * @return bool |
||
| 14 | */ |
||
| 15 | public function authorize() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get the validation rules that apply to the request. |
||
| 23 | * |
||
| 24 | * @return array |
||
|
|
|||
| 25 | */ |
||
| 26 | public function rules() |
||
| 33 | } |
||
| 34 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.