@@ -670,7 +670,7 @@ |
||
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); |
@@ -454,9 +454,9 @@ |
||
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 |