| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class DecisionCollection extends Collection |
||
| 11 | { |
||
| 12 | public function findByOrder(IntegerValue $order): ?Decision |
||
| 13 | { |
||
| 14 | return $this->filter( |
||
| 15 | static fn(Decision $decision): bool => $decision->getOrder()->equals($order), |
||
| 16 | )->getIterator()->current(); |
||
| 17 | } |
||
| 18 | |||
| 19 | protected function getType(): string |
||
| 22 | } |
||
| 23 | } |
||
| 24 |