@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @param string $token |
| 25 | 25 | * |
| 26 | - * @return SessionInterface|null |
|
| 26 | + * @return Session|null |
|
| 27 | 27 | * |
| 28 | 28 | * @throws ApiException |
| 29 | 29 | * @throws NotFoundException |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | { |
| 25 | 25 | $node = $this->crawlEventList($username); |
| 26 | 26 | |
| 27 | - $years = $node->filter('.content-top .secondary-nav-item-link')->each(function (Crawler $node, $i) { |
|
| 27 | + $years = $node->filter('.content-top .secondary-nav-item-link')->each(function(Crawler $node, $i) { |
|
| 28 | 28 | if ($i > 0) { |
| 29 | 29 | return (int) trim($node->text()); |
| 30 | 30 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | { |
| 50 | 50 | $node = $this->crawlEventList($username, $year, $page); |
| 51 | 51 | |
| 52 | - return $node->filter('.events-list-item')->each(function (Crawler $node, $i) { |
|
| 52 | + return $node->filter('.events-list-item')->each(function(Crawler $node, $i) { |
|
| 53 | 53 | $eventNode = $node->filter('.events-list-item-event--title a'); |
| 54 | 54 | |
| 55 | 55 | $id = preg_replace('/.*\/(\d+)+.*/', '$1', $this->parseUrl($eventNode)); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | { |
| 51 | 51 | $bandNode = $node->filter('.grid-items'); |
| 52 | 52 | |
| 53 | - return $bandNode->filter('.grid-items-item')->each(function (Crawler $node, $i) { |
|
| 53 | + return $bandNode->filter('.grid-items-item')->each(function(Crawler $node, $i) { |
|
| 54 | 54 | return array( |
| 55 | 55 | 'image' => $this->parseImage($node->filter('.grid-items-cover-image-image img')), |
| 56 | 56 | 'name' => $this->parseString($node->filter('.grid-items-item-main-text')), |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | */ |
| 119 | 119 | private function filterNull($object) |
| 120 | 120 | { |
| 121 | - return array_filter($object, function ($val) { |
|
| 121 | + return array_filter($object, function($val) { |
|
| 122 | 122 | return !is_null($val); |
| 123 | 123 | }); |
| 124 | 124 | } |