Completed
Push — master ( 127d8e...fbc505 )
by Claus
04:10 queued 01:51
created
src/Core/Parser/TemplateParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -670,7 +670,7 @@
 block discarded – undo
670 670
                 if (!empty($singleMatch['VariableIdentifier'])) {
671 671
                     $arrayToBuild[$arrayKey] = new ObjectAccessorNode($singleMatch['VariableIdentifier']);
672 672
                 } elseif (array_key_exists('Number', $singleMatch) && (!empty($singleMatch['Number']) || $singleMatch['Number'] === '0')) {
673
-                    $arrayToBuild[$arrayKey] = (float)$singleMatch['Number'];
673
+                    $arrayToBuild[$arrayKey] = (float) $singleMatch['Number'];
674 674
                 } elseif ((array_key_exists('QuotedString', $singleMatch) && !empty($singleMatch['QuotedString']))) {
675 675
                     $argumentString = $this->unquoteString($singleMatch['QuotedString']);
676 676
                     $arrayToBuild[$arrayKey] = $this->buildArgumentObjectTree($argumentString);
Please login to merge, or discard this patch.
src/Core/Parser/BooleanParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -454,9 +454,9 @@
 block discarded – undo
454 454
                 return $x;
455 455
             }
456 456
             if (strpos($x, '.') !== false) {
457
-                return (float)$x;
457
+                return (float) $x;
458 458
             } else {
459
-                return (int)$x;
459
+                return (int) $x;
460 460
             }
461 461
         }
462 462
 
Please login to merge, or discard this patch.