Skip to content

Commit 5930af2

Browse files
committed
Update NodeScopeResolver.php
1 parent 9657f0d commit 5930af2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Analyser/NodeScopeResolver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,6 +3665,8 @@ function (MutatingScope $scope) use ($stmt, $expr, $nodeCallback, $context, $sto
36653665
$leftResult = $this->processExprNode($stmt, $expr->left, $scope, $storage, $nodeCallback, $context->enterDeep());
36663666
$rightResult = $this->processExprNode($stmt, $expr->right, $scope, $storage, $nodeCallback, $context);
36673667

3668+
$this->callNodeCallbackWithExpression($nodeCallback, new BooleanOrNode($expr, $scope), $scope, $storage, $context);
3669+
36683670
return new ExpressionResult(
36693671
$scope,
36703672
$leftResult->hasYield() || $rightResult->hasYield(),

0 commit comments

Comments
 (0)