Passed
Branch master (cd4122)
by M. Mikkel
03:54
created
Category
src/CpFieldInspect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
             }
130 130
 
131 131
             Craft::$app->getView()->registerAssetBundle(CpFieldInspectBundle::class);
132
-            Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init('.json_encode($data).');');
132
+            Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init(' . json_encode($data) . ');');
133 133
         }
134 134
 
135 135
 /**
Please login to merge, or discard this patch.