Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | 2 | public function rules() |
|
25 | { |
||
26 | return [ |
||
27 | 2 | 'search.searchText' => 'nullable|string', |
|
28 | 'search.articleType' => 'nullable|array', |
||
29 | 'search.systemType' => 'nullable|array', |
||
30 | 'pagination.rows' => 'nullable|numeric', |
||
31 | 'pagination.low' => 'nullable|numeric', |
||
32 | 'pagination.high' => 'nullable|numeric', |
||
33 | 'pagination.perPage' => 'required|numeric', |
||
34 | 'page' => 'required|numeric', |
||
35 | ]; |
||
38 |