Conditions | 4 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
69 | public function aroundRenderResult( |
||
70 | ResultInterface $subject, |
||
1 ignored issue
–
show
|
|||
71 | Closure $proceed, |
||
72 | Http $response |
||
73 | ) { |
||
74 | $result = $proceed($response); |
||
75 | |||
76 | if (!$this->config->isEnabled() || PHP_SAPI === 'cli' || $this->request->isXmlHttpRequest()) { |
||
77 | return $result; |
||
78 | } |
||
79 | |||
80 | $this->moveJsToFooter->execute($response); |
||
81 | |||
82 | return $result; |
||
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.