| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DepartmentCrudRequest extends FormRequest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Determine if the user is authorized to make this request. |
||
| 13 | * |
||
| 14 | * @return boolean |
||
| 15 | */ |
||
| 16 | public function authorize() : bool |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get the validation rules that apply to the request. |
||
| 24 | * |
||
| 25 | * @return string[] |
||
| 26 | */ |
||
| 27 | public function rules() : array |
||
| 31 | ]; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get the validation messages that apply to the request. |
||
| 36 | * |
||
| 37 | * @return string[] |
||
| 38 | */ |
||
| 39 | public function messages() : array |
||
| 46 |