Passed
Pull Request — master (#35)
by Alberto
02:31
created
src/View/Helper/WebComponentsHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 join('', $statements)
70 70
             );
71 71
             // @codingStandardsIgnoreEnd
72
-            $this->Html->scriptBlock($content, [ 'block' => 'scriptsComponents' ]);
72
+            $this->Html->scriptBlock($content, ['block' => 'scriptsComponents']);
73 73
         }
74 74
 
75 75
         return $attributes;
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function is(string $tagName, array $properties = [], string $scriptPath = ''): string
87 87
     {
88 88
         if (!empty($scriptPath)) {
89
-            $this->Html->script($scriptPath, [ 'block' => 'scriptsComponents' ]);
89
+            $this->Html->script($scriptPath, ['block' => 'scriptsComponents']);
90 90
         }
91 91
 
92 92
         $options = ['is' => $tagName] + $this->props($properties);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     public function element(string $tagName, array $properties = [], $scriptPath = ''): string
106 106
     {
107 107
         if (!empty($scriptPath)) {
108
-            $this->Html->script($scriptPath, [ 'block' => 'scriptsComponents' ]);
108
+            $this->Html->script($scriptPath, ['block' => 'scriptsComponents']);
109 109
         }
110 110
 
111 111
         return $this->Html->tag($tagName, '', $this->props($properties));
Please login to merge, or discard this patch.