| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ClientRequest extends FormRequest |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Determine if the user is authorized to make this request. |
||
| 12 | */ |
||
| 13 | public function authorize(): bool |
||
| 14 | { |
||
| 15 | return true; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Prepare the data for validation. |
||
| 20 | */ |
||
| 21 | protected function prepareForValidation(): void |
||
| 25 | ]); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get the validation rules that apply to the request. |
||
| 30 | * |
||
| 31 | * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array|string> |
||
| 32 | */ |
||
| 33 | public function rules(): array |
||
| 47 |