Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function crawled(UriInterface $url, ResponseInterface $response, ?UriInterface $foundOnUrl = null) |
||
14 | { |
||
15 | $mixedContent = MixedContentExtractor::extract((string) $response->getBody(), $url); |
||
16 | |||
17 | if (! count($mixedContent)) { |
||
18 | $this->noMixedContentFound($url); |
||
19 | |||
20 | return; |
||
21 | } |
||
22 | |||
23 | foreach ($mixedContent as $mixedContentItem) { |
||
24 | $this->mixedContentFound($mixedContentItem); |
||
25 | } |
||
26 | } |
||
27 | |||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.