Passed
Push — master ( 22f4b9...6b2ccd )
by WILMER
02:13
created
assets/MapAsset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     
25 25
     public $sourcePath = "@cjtterabytesoft/widget/jvectormap/assets/maps/js";
26 26
 
27
-    public function registerAssetFiles($view)     {
27
+    public function registerAssetFiles($view) {
28 28
         parent::registerAssetFiles($view);
29 29
     }
30 30
 
Please login to merge, or discard this patch.
JvectorMap.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,8 +203,7 @@
 block discarded – undo
203 203
         $this->jvname = $this->jvname . str_replace('_', '-', $this->map) . ".js";
204 204
         if (file_exists(yii::getAlias((!$this->maptype ? $this->jvpath : $this->jvpathcustom) . $this->jvname))) {
205 205
             JvectorMapAsset::register(Yii::$app->view);
206
-            $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) :
207
-                MapCustomAsset::register(Yii::$app->view);
206
+            $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) : MapCustomAsset::register(Yii::$app->view);
208 207
             $this->bundle->js[] = $this->jvname; // dynamic map added
209 208
             $this->bundle->publishOptions[] = [
210 209
                 'only' => [
Please login to merge, or discard this patch.
assets/MapCustomAsset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public $sourcePath = '@webroot/maps/js';
26 26
 
27
-    public function registerAssetFiles($view)     {
27
+    public function registerAssetFiles($view) {
28 28
         parent::registerAssetFiles($view);
29 29
     }
30 30
 
Please login to merge, or discard this patch.