Skip to content

Commit 1ad1b73

Browse files
committed
try smaller fix
1 parent 801255a commit 1ad1b73

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,11 +1739,7 @@ static function (Node $node, Scope $scope) use ($arrowScope, &$arrowFunctionImpu
17391739
if ($varValue === '') {
17401740
$varValue = '1';
17411741
} elseif (!is_bool($varValue)) {
1742-
if (function_exists('str_increment') && is_string($varValue)) {
1743-
$varValue = str_increment($varValue);
1744-
} else {
1745-
++$varValue;
1746-
}
1742+
++$varValue;
17471743
}
17481744
} elseif (is_numeric($varValue)) {
17491745
--$varValue;

0 commit comments

Comments
 (0)