Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
20 | 12 | public function isSatisfiedBy(ProcessorInterface $processor, ExprInterface $exprClass): bool |
|
21 | { |
||
22 | /** @var EloquentProcessor $processor */ |
||
23 | 12 | if (! \in_array($exprClass->getExpression(), $processor::getComparisonMethods(), false)) { |
|
24 | 5 | return false; |
|
25 | } |
||
26 | |||
27 | 7 | return true; |
|
28 | } |
||
45 |