| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function abilities(): iterable |
||
| 44 | { |
||
| 45 | $this->setMetas([ |
||
| 46 | 'category' => 'Media', |
||
| 47 | ]); |
||
| 48 | |||
| 49 | return [ |
||
| 50 | |||
| 51 | // admin::media.index |
||
| 52 | $this->makeAbility('index')->setMetas([ |
||
| 53 | 'name' => 'Access the main media manager', |
||
| 54 | 'description' => 'Ability to access the main media manager', |
||
| 55 | ]), |
||
| 77 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.