Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 2 | public function rules() |
|
26 | { |
||
27 | return [ |
||
28 | 2 | 'page' => 'nullable|numeric', |
|
29 | 'perPage' => 'required|numeric', |
||
30 | 'sortField' => 'required|string', |
||
31 | 'sortType' => 'required|string', |
||
32 | 'name' => 'nullable|string', |
||
33 | 'city' => 'nullable|string', |
||
34 | 'equipment' => 'nullable|numeric', |
||
35 | ]; |
||
38 |