Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class Request extends FormRequest |
||
19 | { |
||
20 | /** |
||
21 | * Determine if the user is authorized to make this request. |
||
22 | * |
||
23 | * @return bool |
||
24 | */ |
||
25 | public function authorize(): bool |
||
26 | { |
||
27 | return true; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Get the validation rules that apply to the request. |
||
32 | * |
||
33 | * @return array |
||
34 | */ |
||
35 | public function rules(): array |
||
38 | ]; |
||
39 | } |
||
41 |