| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 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 | } |
||
| 50 | } |
||
| 51 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.