Completed
Branch master (08027e)
by Jeroen
10:06 queued 08:23
created
src/Geolocation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,18 +35,18 @@  discard block
 block discarded – undo
35 35
     private function createUrl(array $parameters): string
36 36
     {
37 37
         // define url
38
-        $url = ($this->https ? 'https://' : 'http://') . self::API_URL . '?';
38
+        $url = ($this->https ? 'https://' : 'http://').self::API_URL.'?';
39 39
 
40 40
         // add every parameter to the url
41 41
         foreach ($parameters as $key => $value) {
42
-            $url .= $key . '=' . urlencode($value) . '&';
42
+            $url .= $key.'='.urlencode($value).'&';
43 43
         }
44 44
 
45 45
         // trim last &
46 46
         $url = trim($url, '&');
47 47
 
48 48
         if ($this->apiKey) {
49
-            $url .= '&key=' . $this->apiKey;
49
+            $url .= '&key='.$this->apiKey;
50 50
         }
51 51
 
52 52
         return $url;
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
         // define result
140 140
         $addressSuggestions = $this->doCall(array(
141
-            'latlng' => $latitude . ',' . $longitude,
141
+            'latlng' => $latitude.','.$longitude,
142 142
             'sensor' => 'false'
143 143
         ));
144 144
 
Please login to merge, or discard this patch.