| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function canView($member = null, $context = []) |
||
|
1 ignored issue
–
show
|
|||
| 18 | { |
||
| 19 | if (!$member) { |
||
| 20 | return false; |
||
| 21 | } |
||
| 22 | |||
| 23 | return $member->inGroup('administrators'); |
||
| 24 | } |
||
| 26 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.