Skip to content

Commit

Permalink
Merge branch 'substr' of https://github.com/staabm/phpstan-src into s…
Browse files Browse the repository at this point in the history
…ubstr
  • Loading branch information
clxmstaab committed Apr 28, 2022
2 parents 6a1c76f + a862bcd commit e55c37d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Analyser/TypeSpecifier.php
Expand Up @@ -58,6 +58,7 @@
use PHPStan\Type\TypeUtils;
use PHPStan\Type\TypeWithClassName;
use PHPStan\Type\UnionType;
use PHPStan\Type\VerbosityLevel;
use function array_merge;
use function array_reverse;
use function count;
Expand Down Expand Up @@ -257,7 +258,7 @@ public function specifyTypesInCondition(
TypeCombinator::intersect($scope->getType($exprNode->getArgs()[0]->value), new AccessoryNonEmptyStringType()),
$context,
false,
$scope,
$scope
);
}
}
Expand Down

0 comments on commit e55c37d

Please sign in to comment.