Total Complexity | 5 |
Total Lines | 61 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class MoveJsToFooter |
||
23 | { |
||
24 | /** |
||
25 | * Configuration Module |
||
26 | * |
||
27 | * @var Config |
||
28 | */ |
||
29 | private $config; |
||
30 | |||
31 | /** |
||
32 | * Request HTTP |
||
33 | * |
||
34 | * @var RequestHttp |
||
35 | */ |
||
36 | private $request; |
||
37 | |||
38 | /** |
||
39 | * Mover Js |
||
40 | * |
||
41 | * @var MoveJsToFooterInterface |
||
42 | */ |
||
43 | private $moveJsToFooter; |
||
44 | |||
45 | /** |
||
46 | * MoveJsToFooter constructor. |
||
47 | * |
||
48 | * @param Config $config |
||
49 | * @param RequestHttp $request |
||
50 | * @param MoveJsToFooterInterface $moveJsToFooter |
||
51 | */ |
||
52 | public function __construct( |
||
53 | Config $config, |
||
54 | RequestHttp $request, |
||
55 | MoveJsToFooterInterface $moveJsToFooter |
||
56 | ) { |
||
57 | $this->config = $config; |
||
58 | $this->request = $request; |
||
59 | $this->moveJsToFooter = $moveJsToFooter; |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * @param ResultInterface $subject |
||
64 | * @param Closure $proceed |
||
65 | * @param Http $response |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function aroundRenderResult( |
||
83 | } |
||
84 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.