| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function rules() |
||
| 25 | { |
||
| 26 | return [ |
||
| 27 | 'search' => [ |
||
| 28 | 'nullable', |
||
| 29 | 'string', |
||
| 30 | ], |
||
| 31 | 'stages' => [ |
||
| 32 | 'nullable', |
||
| 33 | 'array', |
||
| 34 | ], |
||
| 35 | 'stages.*' => [ |
||
| 36 | 'required', |
||
| 37 | 'integer', |
||
| 38 | 'exists:stages,id', |
||
| 39 | ], |
||
| 40 | 'recruitment' => [ |
||
| 41 | 'nullable', |
||
| 42 | 'integer', |
||
| 43 | 'exists:recruitments,id', |
||
| 44 | ], |
||
| 48 |