Skip to content

Commit

Permalink
Merge branch refs/heads/1.10.x into 1.11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Jul 18, 2023
2 parents 9362748 + c6f4c4c commit 25976e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Analyser/MutatingScope.php
Expand Up @@ -127,6 +127,7 @@
use function get_class;
use function implode;
use function in_array;
use function is_numeric;
use function is_string;
use function ltrim;
use function sprintf;
Expand Down Expand Up @@ -1420,7 +1421,7 @@ private function resolveType(string $exprString, Expr $node): Type
foreach ($varScalars as $varValue) {
if ($node instanceof Expr\PreInc) {
++$varValue;
} else {
} elseif (is_numeric($varValue)) {
--$varValue;
}

Expand Down

0 comments on commit 25976e5

Please sign in to comment.