Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class MetaBoxGetRequestModelRequest extends JsonFormRequest |
||
8 | { |
||
9 | /** |
||
10 | * Determine if the user is authorized to make this request. |
||
11 | * |
||
12 | * @return bool |
||
13 | */ |
||
14 | public function authorize(): bool |
||
15 | { |
||
16 | return true; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Get the validation rules that apply to the request. |
||
21 | * |
||
22 | * @return array<string, mixed> |
||
23 | */ |
||
24 | public function rules(): array |
||
30 | ]; |
||
31 | } |
||
33 |