Test Failed
Push — master ( d42710...4a514d )
by
unknown
03:09
created
src/Charcoal/Property/TemplateProperty.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 }
100 100
 
101 101
                 $struct    = $this->availableTemplates[$choiceIdent];
102
-                $immutable = [ 'value' => $struct['value'] ];
102
+                $immutable = ['value' => $struct['value']];
103 103
 
104 104
                 return array_replace($struct, $choice, $immutable);
105 105
             } elseif (isset($choice['template']) || isset($choice['controller']) || isset($choice['class'])) {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 return '';
140 140
             }
141 141
         } elseif ($val instanceof Translation) {
142
-            $propertyValue = (string)$val;
142
+            $propertyValue = (string) $val;
143 143
         } else {
144 144
             $propertyValue = $val;
145 145
         }
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         $val = $this->val();
188 188
         if ($this->hasChoice($val)) {
189 189
             $choice = $this->choice($val);
190
-            $keys   = [ 'controller', 'template', 'class' ];
190
+            $keys   = ['controller', 'template', 'class'];
191 191
             foreach ($keys as $key) {
192 192
                 if (isset($choice[$key])) {
193 193
                     return $choice[$key];
Please login to merge, or discard this patch.
src/Charcoal/Admin/Widget/GroupAttachmentWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
             }
201 201
 
202 202
             $attachmentWidgets = $structureMetadata->get('attachments.widgets');
203
-            foreach ((array)$attachmentWidgets as $ident => $metadata) {
203
+            foreach ((array) $attachmentWidgets as $ident => $metadata) {
204 204
                 $this->addGroup($ident, $metadata);
205 205
             }
206 206
 
Please login to merge, or discard this patch.