We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e726b27 commit 1b10ef9Copy full SHA for 1b10ef9
src/Analyser/Generator/ExprHandler/BitwiseNotHandler.php
@@ -32,7 +32,7 @@ public function supports(Expr $expr): bool
32
33
public function analyseExpr(Stmt $stmt, Expr $expr, GeneratorScope $scope, ExpressionContext $context, ?callable $alternativeNodeCallback): Generator
34
{
35
- $result = yield new ExprAnalysisRequest($stmt, $expr->expr, $scope, $context, $alternativeNodeCallback);
+ $result = yield new ExprAnalysisRequest($stmt, $expr->expr, $scope, $context->enterDeep(), $alternativeNodeCallback);
36
37
return new ExprAnalysisResult(
38
$this->initializerExprTypeResolver->getBitwiseNotTypeFromType($result->type),
0 commit comments