Passed
Pull Request — master (#3)
by Chauncey
07:29 queued 03:41
created
src/Charcoal/Property/TemplateProperty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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];
Please login to merge, or discard this patch.
src/Charcoal/Property/TemplateOptionsProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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'
Please login to merge, or discard this patch.