| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function rules() |
||
| 25 | { |
||
| 26 | return [ |
||
| 27 | 'education_type_id' => 'required|exists:education_types,id', |
||
| 28 | 'area_of_study' => 'required|string', |
||
| 29 | 'institution' => 'required|string', |
||
| 30 | 'education_status_id' => 'required|exists:education_statuses,id', |
||
| 31 | 'thesis_title' => 'nullable|string', |
||
| 32 | 'has_blockcert' => 'required|boolean', |
||
| 33 | 'is_education_requirement' => 'required|boolean', |
||
| 34 | 'is_active' => 'required|boolean', |
||
| 35 | 'start_date' => 'required|date', |
||
| 36 | 'end_date' => 'nullable|date', |
||
| 37 | ]; |
||
| 40 |