Completed
Pull Request — master (#28)
by Helpful
02:48 queued 46s
created
code/GoogleMapField.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -92,19 +92,19 @@  discard block
 block discarded – undo
92 92
 
93 93
         // Create the latitude/longitude hidden fields
94 94
         $this->latField = HiddenField::create(
95
-            $name.'[Latitude]',
95
+            $name . '[Latitude]',
96 96
             'Lat',
97 97
             $this->recordFieldData('Latitude')
98 98
         )->addExtraClass('googlemapfield-latfield');
99 99
 
100 100
         $this->lngField = HiddenField::create(
101
-            $name.'[Longitude]',
101
+            $name . '[Longitude]',
102 102
             'Lng',
103 103
             $this->recordFieldData('Longitude')
104 104
         )->addExtraClass('googlemapfield-lngfield');
105 105
 
106 106
         $this->zoomField = HiddenField::create(
107
-            $name.'[Zoom]',
107
+            $name . '[Zoom]',
108 108
             'Zoom',
109 109
             $this->recordFieldData('Zoom')
110 110
         )->addExtraClass('googlemapfield-zoomfield');
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
         if ($key = $this->getOption('api_key')) {
163 163
             $gmapsParams['key'] = $key;
164 164
         }
165
-        Requirements::css(GOOGLEMAPFIELD_BASE .'/css/GoogleMapField.css');
166
-        Requirements::javascript(GOOGLEMAPFIELD_BASE .'/javascript/GoogleMapField.js');
165
+        Requirements::css(GOOGLEMAPFIELD_BASE . '/css/GoogleMapField.css');
166
+        Requirements::javascript(GOOGLEMAPFIELD_BASE . '/javascript/GoogleMapField.js');
167 167
         Requirements::javascript('//maps.googleapis.com/maps/api/js?' . http_build_query($gmapsParams));
168 168
     }
169 169
 
Please login to merge, or discard this patch.