| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class NotCondition implements NotConditionInterface |
||
| 18 | { |
||
| 19 | public function __construct(private ExpressionInterface|array|null|string $condition) |
||
| 20 | { |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getCondition(): ExpressionInterface|array|null|string |
||
| 24 | { |
||
| 25 | return $this->condition; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @throws InvalidArgumentException |
||
| 30 | * |
||
| 31 | * @psalm-suppress MixedArgument |
||
| 32 | */ |
||
| 33 | public static function fromArrayDefinition(string $operator, array $operands): self |
||
| 40 | } |
||
| 41 | } |
||
| 42 |