Completed
Pull Request — master (#18)
by Tino
13:37
created
src/Nominatim.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
                 'connection_timeout' => 5,
101 101
             ]);
102 102
         } elseif ($http_client instanceof Client) {
103
-            $application_url_client = (string)$http_client->getConfig('base_uri');
103
+            $application_url_client = (string) $http_client->getConfig('base_uri');
104 104
 
105 105
             if (empty($application_url_client)) {
106 106
                 throw new NominatimException('http_client must have a configured base_uri.');
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     private function decodeResponse(string $format, Request $request, ResponseInterface $response)
212 212
     {
213 213
         if ('json' === $format || 'jsonv2' === $format || 'geojson' === $format || 'geocodejson' === $format) {
214
-            dump($format, $request, $response, (string)$response->getBody()->getContents(), $this->http_client); exit;
214
+            dump($format, $request, $response, (string) $response->getBody()->getContents(), $this->http_client); exit;
215 215
             return json_decode($response->getBody()->getContents(), true);
216 216
         }
217 217
 
Please login to merge, or discard this patch.