@@ -166,7 +166,7 @@ |
||
| 166 | 166 | 'data' => array_map($series['extractFunction'], $sourceStats), |
| 167 | 167 | ]; |
| 168 | 168 | if (array_key_exists('rating', $series)) { |
| 169 | - $data['urls'][] = array_map(function ($dp) use ($series): string { |
|
| 169 | + $data['urls'][] = array_map(function($dp) use ($series): string { |
|
| 170 | 170 | $params = [ |
| 171 | 171 | 'rating' => $series['rating'], |
| 172 | 172 | 'periodStartDate' => $dp['periodStartDate'], |
@@ -154,7 +154,7 @@ |
||
| 154 | 154 | |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | - private function filterQueryByRating(?int $rating, string $ratingComparison, QueryBuilder &$qb): QueryBuilder |
|
| 157 | + private function filterQueryByRating(?int $rating, string $ratingComparison, QueryBuilder & $qb): QueryBuilder |
|
| 158 | 158 | { |
| 159 | 159 | if ($rating !== null) { |
| 160 | 160 | switch ($ratingComparison) { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | throw new Exception("Couldn't get image URL in image tagger."); |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - $opts=array( |
|
| 25 | + $opts = array( |
|
| 26 | 26 | // Our staging server doesn't trust itself! TODO: We're not using |
| 27 | 27 | // Vagrant for staging any more. Maybe we don't need this. Plus we |
| 28 | 28 | // should just make the server certificates work. |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | $results = $wanderFinder->createHybridPaginatorAdapter($nested); |
| 70 | 70 | |
| 71 | - $perPage = 10; // TODO: Parameterise this results-per-page |
|
| 71 | + $perPage = 10; // TODO: Parameterise this results-per-page |
|
| 72 | 72 | $page = $request->query->getInt('page', 1); |
| 73 | 73 | |
| 74 | 74 | // Avoid Elastica limit caused by malicious probing "Result window is too large, from + size must be less than or equal to: [10000]" |