Skip to content

Commit be0124d

Browse files
committed
Remove default handling of truthy/falsey callback because it's not applicable in these expressions
1 parent 07f3f7a commit be0124d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Analyser/ExprHandler/MatchHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,6 @@ public function processExpr(NodeScopeResolver $nodeScopeResolver, Stmt $stmt, Ex
478478
isAlwaysTerminating: $isAlwaysTerminating,
479479
throwPoints: $throwPoints,
480480
impurePoints: $impurePoints,
481-
truthyScopeCallback: static fn (): MutatingScope => $scope->filterByTruthyValue($expr),
482-
falseyScopeCallback: static fn (): MutatingScope => $scope->filterByFalseyValue($expr),
483481
);
484482
}
485483

0 commit comments

Comments
 (0)