Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
31 | public function search($params) |
||
|
|||
32 | { |
||
33 | $allModels = $this->authManager->getPermissions(); |
||
34 | |||
35 | $dataProvider = new ArrayDataProvider([ |
||
36 | 'allModels' => $allModels, |
||
37 | ]); |
||
38 | |||
39 | /** |
||
40 | * Modify for custom search conditions. |
||
41 | * |
||
42 | $this->load($params); |
||
43 | |||
44 | if (!$this->validate()) { |
||
45 | return $dataProvider; |
||
46 | }*/ |
||
47 | |||
48 | return $dataProvider; |
||
49 | } |
||
51 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.