| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function providePermissions() { |
||
| 13 | $permissions = array(); |
||
| 14 | foreach ($this->getClassList() as $class) { |
||
| 15 | foreach (array( |
||
| 16 | 'config_page_and_type', |
||
| 17 | 'config_member_visibility' |
||
| 18 | ) as $name) { |
||
| 19 | $permissions[$class . '_' . $name] = $class . '_' . $name; |
||
| 20 | } |
||
| 21 | } |
||
| 22 | return $permissions; |
||
| 23 | } |
||
| 24 | |||
| 37 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.