Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
42 | 1 | protected function addSessionHandler( |
|
43 | DependencyContainerInterface $container |
||
44 | ): DependencyContainerInterface { |
||
45 | $container[self::SESSION_HANDLER] = function (DependencyContainerInterface $container) { |
||
46 | 1 | return $this->getSessionHandler($container); |
|
47 | }; |
||
48 | 1 | return $container; |
|
49 | } |
||
51 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.