Passed
Branch master (12aca6)
by WILMER
03:36
created
Category
Jvectormap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public $backgroundColor;
49 49
 
50 50
     /** @var string [$focusOn] **/
51
-    public $focusOn =[];
51
+    public $focusOn = [];
52 52
 
53 53
     /** @var array [$labels] **/
54 54
     public $labels = [];
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                         !$this->backgroundColor ?: 'backgroundColor' =>
133 133
                             !$this->backgroundColor ?: $this->backgroundColor,
134 134
                         !$this->focusOn ?: 'focusOn' =>
135
-                            !$this->focusOn ?: $this->focusOn ,
135
+                            !$this->focusOn ?: $this->focusOn,
136 136
                         !$this->labels ?: 'labels' =>
137 137
                             !$this->labels ?: $this->labels,
138 138
                         !$this->markerLabelStyle ?: 'markerLabelStyle' =>
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
                             !$this->markers ?: $this->markers,
142 142
                         'markersSelectable' => $this->markersSelectable,
143 143
                         'markersSelectableOne' => $this->markersSelectableOne,
144
-                        !$this->markerStyle ?:'markerStyle' =>
144
+                        !$this->markerStyle ?: 'markerStyle' =>
145 145
                             !$this->markerStyle ?: $this->markerStyle,
146 146
                         'panOnDrag' => $this->panOnDrag,
147 147
                         !$this->regionLabelStyle ?: '$regionLabelStyle' =>
Please login to merge, or discard this patch.
assets/MapAsset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
 class MapAsset extends AssetBundle
23 23
 {
24 24
 
25
-    private static $_maps=[];
25
+    private static $_maps = [];
26 26
 
27 27
     public $sourcePath = '@cjtterabytesoft/jvectormap/assets/maps/js/';
28 28
 
29 29
     public function registerAssetFiles($view)
30 30
     {
31
-        foreach (self::$_maps as $map){
31
+        foreach (self::$_maps as $map) {
32 32
             $jsname = "jquery-jvectormap-" . str_replace('_', '-', $map) . ".js";
33 33
             if (file_exists($this->sourcePath . "/" . $jsname)) {
34 34
                 $this->js[] = $jsname;
Please login to merge, or discard this patch.