| 1 | <?php |
||
| 11 | class MixedContentObserver extends CrawlObserver |
||
| 12 | { |
||
| 13 | public function crawled(UriInterface $url, ResponseInterface $response, ?UriInterface $foundOnUrl = null) |
||
| 27 | |||
| 28 | public function crawlFailed( |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Will be called when mixed content was found. |
||
| 39 | * |
||
| 40 | * @param \Spatie\MixedContentScanner\MixedContent $mixedContent |
||
| 41 | */ |
||
| 42 | public function mixedContentFound(MixedContent $mixedContent) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Will be called when no mixed content was found on the given url. |
||
| 48 | * |
||
| 49 | * @param \Psr\Http\Message\UriInterface |
||
| 50 | */ |
||
| 51 | public function noMixedContentFound(UriInterface $crawledUrl) |
||
| 54 | } |
||
| 55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.