1 | <?php |
||
13 | class TestFilter |
||
14 | { |
||
15 | private $params; |
||
16 | |||
17 | /** |
||
18 | * TestFilter constructor. |
||
19 | * @param $params |
||
20 | */ |
||
21 | public function __construct($params) |
||
25 | |||
26 | |||
27 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next, ContainerInterface $container) |
||
33 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.