Skip to content

Commit 0ca496c

Browse files
kalessilfabpot
authored andcommitted
[2.6] Static Code Analysis for Components and Bundles
1 parent eeab366 commit 0ca496c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Util/XmlUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public static function phpize($value)
196196
return '0' == $value[0] ? octdec($value) : (((string) $raw === (string) $cast) ? $cast : $raw);
197197
case isset($value[1]) && '-' === $value[0] && ctype_digit(substr($value, 1)):
198198
$raw = $value;
199-
$cast = intval($value);
199+
$cast = (int) $value;
200200

201201
return '0' == $value[1] ? octdec($value) : (((string) $raw === (string) $cast) ? $cast : $raw);
202202
case 'true' === $lowercaseValue:

0 commit comments

Comments
 (0)