Skip to content

Commit c19bf69

Browse files
authored
Throw exception if node cannot be processed
1 parent 75ee5e4 commit c19bf69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/ConditionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function execute(NodeInterface $node, DataSource $dataSource): bool
2828
return match (true) {
2929
$node instanceof CombineInterface => $this->executeCombine($node, $dataSource),
3030
$node instanceof ConditionInterface => $this->executeCondition($node, $dataSource),
31-
default => true
31+
default => throw new \Exception()//todo
3232
};
3333
}
3434

0 commit comments

Comments
 (0)