Skip to content

Commit 2e2015b

Browse files
CS fixes
1 parent d0fc816 commit 2e2015b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Inline.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,11 +656,13 @@ private static function evaluateScalar($scalar, $flags, $references = array())
656656
}
657657

658658
// Optimize for returning strings.
659+
// no break
659660
case '+' === $scalar[0] || '-' === $scalar[0] || '.' === $scalar[0] || is_numeric($scalar[0]):
660661
switch (true) {
661662
case Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar):
662663
$scalar = str_replace('_', '', (string) $scalar);
663664
// omitting the break / return as integers are handled in the next case
665+
// no break
664666
case ctype_digit($scalar):
665667
$raw = $scalar;
666668
$cast = (int) $scalar;

0 commit comments

Comments
 (0)