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