Passed
Push — master ( 92fde7...9b7300 )
by WILMER
02:27
created
Jvectormap.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,8 +198,7 @@
 block discarded – undo
198 198
         $this->jvname = $this->jvname . str_replace('_', '-', $this->map) . ".js";
199 199
         if (file_exists(yii::getAlias((!$this->maptype ? $this->jvpath : $this->jvpathcustom) . $this->jvname))) {
200 200
             JvectormapAsset::register(Yii::$app->view);
201
-            $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) :
202
-                MapcustomAsset::register(Yii::$app->view);
201
+            $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) : MapcustomAsset::register(Yii::$app->view);
203 202
             $this->bundle->js[] = $this->jvname; // dynamic map added
204 203
             $this->bundle->publishOptions[] = [
205 204
                 '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.
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/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.