Passed
Push — master ( cd4122...426d96 )
by M. Mikkel
03:37
created
src/CpFieldInspect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         Event::on(
82 82
             Plugins::class,
83 83
             Plugins::EVENT_AFTER_LOAD_PLUGINS,
84
-            function () {
84
+            function() {
85 85
                 $this->doIt();
86 86
             }
87 87
         );
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
             }
174 174
 
175 175
             Craft::$app->getView()->registerAssetBundle(CpFieldInspectBundle::class);
176
-            Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init('.json_encode($data).');');
176
+            Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init(' . json_encode($data) . ');');
177 177
         }
178 178
     }
179 179
 
Please login to merge, or discard this patch.