@@ -69,7 +69,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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)); |