Test Setup Failed
Pull Request — master (#4)
by Radosław
03:05
created
src/Crawler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             $this->getVisited()->push($link);
110 110
 
111 111
             $domCrawler = new DomCrawler(
112
-                (string) $response->getContent(),
112
+                (string)$response->getContent(),
113 113
                 $link->getUrl()
114 114
             );
115 115
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         $links = $domCrawler->filter($this->linkSelector)->links();
134 134
 
135
-        $urls = array_map(function ($link) {
135
+        $urls = array_map(function($link) {
136 136
             $url = $link->getUri();
137 137
             $url = explode('#', $url);
138 138
 
Please login to merge, or discard this patch.