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