@@ -177,7 +177,7 @@ |
||
| 177 | 177 | */ |
| 178 | 178 | public function find(QueryInterface $nRequest, array $headers = []) |
| 179 | 179 | { |
| 180 | - $url = $this->application_url.'/'.$nRequest->getPath().'?'; |
|
| 180 | + $url = $this->application_url . '/' . $nRequest->getPath() . '?'; |
|
| 181 | 181 | $request = new Request('GET', $url, array_merge($this->defaultHeaders, $headers)); |
| 182 | 182 | |
| 183 | 183 | //Convert the query array to string with space replace to + |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | if (empty($this->query['countrycodes'])) { |
| 169 | 169 | $this->query['countrycodes'] = $countrycode; |
| 170 | 170 | } else { |
| 171 | - $this->query['countrycodes'] .= ','.$countrycode; |
|
| 171 | + $this->query['countrycodes'] .= ',' . $countrycode; |
|
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | return $this; |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | */ |
| 187 | 187 | public function viewBox(string $left, string $top, string $right, string $bottom): self |
| 188 | 188 | { |
| 189 | - $this->query['viewbox'] = $left.','.$top.','.$right.','.$bottom; |
|
| 189 | + $this->query['viewbox'] = $left . ',' . $top . ',' . $right . ',' . $bottom; |
|
| 190 | 190 | |
| 191 | 191 | return $this; |
| 192 | 192 | } |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | public function polygon(string $polygon) |
| 151 | 151 | { |
| 152 | 152 | if (\in_array($polygon, $this->polygon, true)) { |
| 153 | - $this->query['polygon_'.$polygon] = '1'; |
|
| 153 | + $this->query['polygon_' . $polygon] = '1'; |
|
| 154 | 154 | |
| 155 | 155 | return $this; |
| 156 | 156 | } |