| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class ApplyOr implements SpecInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | 1 | public function isSatisfiedBy(ProcessorInterface $processor, ExprInterface $exprClass): bool |
|
| 20 | { |
||
| 21 | 1 | if (! $exprClass instanceof OrExpr) { |
|
| 22 | return false; |
||
| 23 | } |
||
| 24 | |||
| 25 | 1 | return true; |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | */ |
||
| 31 | 1 | public function apply(ProcessorInterface $processor, ExprInterface $exprClass): Builder |
|
| 42 | 1 | }); |
|
| 43 | } |
||
| 45 |