Skip to content

Commit 1b10ef9

Browse files
committed
enterDeep
1 parent e726b27 commit 1b10ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/Generator/ExprHandler/BitwiseNotHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function supports(Expr $expr): bool
3232

3333
public function analyseExpr(Stmt $stmt, Expr $expr, GeneratorScope $scope, ExpressionContext $context, ?callable $alternativeNodeCallback): Generator
3434
{
35-
$result = yield new ExprAnalysisRequest($stmt, $expr->expr, $scope, $context, $alternativeNodeCallback);
35+
$result = yield new ExprAnalysisRequest($stmt, $expr->expr, $scope, $context->enterDeep(), $alternativeNodeCallback);
3636

3737
return new ExprAnalysisResult(
3838
$this->initializerExprTypeResolver->getBitwiseNotTypeFromType($result->type),

0 commit comments

Comments
 (0)