Completed
Pull Request — master (#18)
by Matthew
07:15
created
src/Extensions/LocatorControllerExtension.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * @var array
36 36
      */
37 37
     private static $dependencies = [
38
-        'FormSchema' => '%$' . FormSchema::class,
38
+        'FormSchema' => '%$'.FormSchema::class,
39 39
     ];
40 40
 
41 41
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
         Requirements::customScript("
91 91
             window.ss = window.ss || {};
92
-            window.ss.config = " . $this->owner->getClientConfig() . ";
92
+            window.ss.config = " . $this->owner->getClientConfig().";
93 93
         ");
94 94
 
95 95
         $this->owner->customScript();
@@ -115,8 +115,8 @@  discard block
 block discarded – undo
115 115
         $markerIconPath = ModuleResourceLoader::singleton()->resolveURL($this->owner->getMarkerIcon());
116 116
 
117 117
         // force to float
118
-        $defaultLat = (float)$this->owner->DefaultLat;
119
-        $defaultLng = (float)$this->owner->DefaultLng;
118
+        $defaultLat = (float) $this->owner->DefaultLat;
119
+        $defaultLng = (float) $this->owner->DefaultLng;
120 120
 
121 121
         Requirements::customScript("
122 122
             window.dynamic_locator = {
Please login to merge, or discard this patch.