| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | public function __invoke(RequestException $exception, $index)  | 
            ||
| 18 |     { | 
            ||
| 19 | $crawlUrl = $this->crawler->getCrawlQueue()->getUrlById($index);  | 
            ||
| 20 | |||
| 21 |         foreach ($this->crawler->getCrawlObservers() as $crawlObserver) { | 
            ||
| 22 | $crawlObserver->crawlFailed(  | 
            ||
| 23 | $crawlUrl->url,  | 
            ||
| 24 | $exception,  | 
            ||
| 25 | $crawlUrl->foundOnUrl  | 
            ||
| 26 | );  | 
            ||
| 27 | }  | 
            ||
| 28 | }  | 
            ||
| 29 | }  | 
            ||
| 30 |