Skip to content

Commit 51ce513

Browse files
committed
Fix
1 parent 4ea8d60 commit 51ce513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ static function (Type $type, callable $traverse) use ($templateTypeMap, &$contai
14051405
$assertedType,
14061406
$assert->isNegated() ? TypeSpecifierContext::createFalse() : TypeSpecifierContext::createTrue(),
14071407
$scope,
1408-
)->setRootExpr($containsUnresolvedTemplate || $assert->isEquality() ? $call : null);
1408+
)->setRootExpr($containsUnresolvedTemplate || $assert->isEquality() ? $call : $assertExpr);
14091409
$types = $types !== null ? $types->unionWith($newTypes) : $newTypes;
14101410

14111411
if (!$context->null() || !$assertedType instanceof ConstantBooleanType) {

0 commit comments

Comments
 (0)