Skip to content

Commit

Permalink
Apply fixes from StyleCI (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Jan 25, 2018
1 parent ac75db3 commit 5bb5dcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Crawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function startCrawling($baseUrl)

$this->startCrawlingQueue();

foreach($this->crawlObservers as $crawlObserver) {
foreach ($this->crawlObservers as $crawlObserver) {
$crawlObserver->finishedCrawling();
}
}
Expand Down Expand Up @@ -306,7 +306,7 @@ protected function convertBodyToString(StreamInterface $bodyStream, $readMaximum
*/
protected function handleResponse($response, CrawlUrl $crawlUrl)
{
foreach($this->crawlObservers as $crawlObserver) {
foreach ($this->crawlObservers as $crawlObserver) {
$crawlObserver->hasBeenCrawled($crawlUrl->url, $response, $crawlUrl->foundOnUrl);
}
}
Expand All @@ -322,7 +322,7 @@ protected function getCrawlRequests(): Generator
continue;
}

foreach($this->crawlObservers as $crawlObserver) {
foreach ($this->crawlObservers as $crawlObserver) {
$crawlObserver->willCrawl($crawlUrl->url);
}

Expand Down

0 comments on commit 5bb5dcf

Please sign in to comment.