Passed
Push — master ( 40e008...3bf52d )
by Maxime
59s queued 11s
created
src/Nominatim.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
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 +
Please login to merge, or discard this patch.
src/Search.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.