@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | return ''; |
129 | 129 | } |
130 | 130 | } elseif ($val instanceof Translation) { |
131 | - $propertyValue = (string)$val; |
|
131 | + $propertyValue = (string) $val; |
|
132 | 132 | } else { |
133 | 133 | $propertyValue = $val; |
134 | 134 | } |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | $val = $this->val(); |
177 | 177 | if ($this->hasChoice($val)) { |
178 | 178 | $choice = $this->choice($val); |
179 | - $keys = [ 'controller', 'template', 'class' ]; |
|
179 | + $keys = ['controller', 'template', 'class']; |
|
180 | 180 | foreach ($keys as $key) { |
181 | 181 | if (isset($choice[$key])) { |
182 | 182 | return $choice[$key]; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function addStructureInterface($interface) |
35 | 35 | { |
36 | 36 | if ($interface instanceof TemplateProperty) { |
37 | - $interface = (string)$interface; |
|
37 | + $interface = (string) $interface; |
|
38 | 38 | if (empty($interface)) { |
39 | 39 | throw new InvalidArgumentException( |
40 | 40 | 'Invalid template structure interface' |