| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function rules() |
||
| 29 | { |
||
| 30 | return [ |
||
| 31 | 'job_poster_id' => ['nullable', new ValidIdRule(JobPoster::class)], |
||
| 32 | 'user_id' => ['nullable', new ValidIdRule(User::class)], |
||
| 33 | 'comment' => 'nullable|string', |
||
| 34 | 'location' => 'nullable|string', |
||
| 35 | 'type_id' => ['nullable', new ValidIdRule(CommentType::class)] |
||
| 36 | ]; |
||
| 39 |