Skip to content

Commit dc07a31

Browse files
Merge branch '4.4' into 5.3
* 4.4: [Process] intersect with getenv() in case-insensitive manner to get default envs [Serializer] fix support for lazy/unset properties Fix redundant type casts Revert "[DoctrineBridge] add support for the JSON type"
2 parents 226638a + a19f7c4 commit dc07a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ private static function evaluateScalar(string $scalar, int $flags, array &$refer
667667
// no break
668668
case \in_array($scalar[0], ['+', '-', '.'], true) || is_numeric($scalar[0]):
669669
if (Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) {
670-
$scalar = str_replace('_', '', (string) $scalar);
670+
$scalar = str_replace('_', '', $scalar);
671671
}
672672

673673
switch (true) {

0 commit comments

Comments
 (0)