| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 27 | public function rules() |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | 'name' => 'required|string', |
||
| 31 | 'description' => 'required|string', |
||
| 32 | 'location' => 'required|array', |
||
| 33 | 'start' => 'required|date_format:Y-m-d H:i', |
||
| 34 | 'end' => 'required|date_format:Y-m-d H:i', |
||
| 35 | 'published' => 'required|boolean', |
||
| 36 | 'url' => 'url', |
||
| 37 | 'video_url' => 'url', |
||
| 38 | 'banner' => 'base64image', |
||
| 39 | ]; |
||
| 47 |