Passed
Pull Request — master (#16)
by
unknown
03:36
created
src/View/Helper/WebComponentsHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public function is(string $tagName, array $properties = array(), string $scriptPath = ''): string
54 54
     {
55 55
         if (!empty($scriptPath)) {
56
-            $this->script($scriptPath, [ 'block' => 'scriptsComponents' ]);
56
+            $this->script($scriptPath, ['block' => 'scriptsComponents']);
57 57
         }
58 58
         return sprintf('is="%s" %s', $tagName, $this->props($properties));
59 59
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     public function element(string $tagName, array $properties = array(), $scriptPath = ''): string
70 70
     {
71 71
         if (!empty($scriptPath)) {
72
-            $this->script($scriptPath, [ 'block' => 'scriptsComponents' ]);
72
+            $this->script($scriptPath, ['block' => 'scriptsComponents']);
73 73
         }
74 74
         return sprintf('<%s %s></%s>', $tagName, $this->props($properties), $tagName);
75 75
     }
Please login to merge, or discard this patch.