| 1 | <?php |
||
| 13 | class UpdateVisitorUserRequest extends Request |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Get the validation rules that apply to the request. |
||
| 18 | * |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | public function rules() |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * Determine if the user is authorized to make this request. |
||
| 33 | * |
||
| 34 | * @param \Illuminate\Contracts\Auth\Access\Gate $gate |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | public function authorize(Gate $gate) |
||
| 42 | } |
||
| 43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.