@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | $resultList = []; |
33 | 33 | |
34 | - $node->filter('.page-content section')->each(function (Crawler $node) use (&$resultList) { |
|
34 | + $node->filter('.page-content section')->each(function(Crawler $node) use (&$resultList) { |
|
35 | 35 | $headingNode = $node->filter('.group-heading'); |
36 | 36 | |
37 | 37 | $datetime = new DateTime(trim($headingNode->text())); |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | private function crawlEventListGroup(Crawler $node, DateTime $datetime): array |
72 | 72 | { |
73 | 73 | return $node->filter('.events-list-item')->each( |
74 | - function (Crawler $node) use ($datetime): Event { |
|
74 | + function(Crawler $node) use ($datetime): Event { |
|
75 | 75 | return $this->parseEvent($node, $datetime); |
76 | 76 | } |
77 | 77 | ); |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | $url .= '?location_0=Germany'; |
91 | 91 | $url .= '&location_1='.$location->getLatitude(); |
92 | 92 | $url .= '&location_2='.$location->getLongitude(); |
93 | - $url .= '&radius='.($radius*1000); |
|
93 | + $url .= '&radius='.($radius * 1000); |
|
94 | 94 | $url .= '&page='.$page; |
95 | 95 | |
96 | 96 | return $this->crawl($url); |