| 1 | <?php |
||
| 20 | class PasswordResetSendRequest extends FormRequest |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Determine if the user is authorized to make this request. |
||
| 24 | * |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | public function authorize() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get the validation rules that apply to the request. |
||
| 34 | * |
||
| 35 | * @return array |
||
|
|
|||
| 36 | */ |
||
| 37 | public function rules() |
||
| 43 | } |
||
| 44 |
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.