| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | class ViewSituationProvider |
||
| 6 | { |
||
| 7 | 116 | public function getListener() |
|
| 8 | { |
||
| 9 | 116 | return ViewEventListener::class; |
|
| 10 | } |
||
| 11 | |||
| 12 | 116 | public function getSituationProvider() |
|
| 13 | { |
||
| 14 | 116 | return ViewSituations::class; |
|
| 15 | } |
||
| 16 | |||
| 17 | 116 | public function getForgetKey() |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array |
||
| 24 | */ |
||
| 25 | 116 | public function getMethods(): array |
|
| 29 | ]; |
||
| 30 | } |
||
| 31 | |||
| 32 | 14 | public static function getForgetMethods() |
|
| 35 | } |
||
| 36 | |||
| 37 | 4 | public static function getForgetArgs($method, $args) |
|
| 42 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.