| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 33 | public function match(RuleScope $scope): bool |
||
| 34 | { |
||
| 35 | if (!$scope instanceof FlowRuleScope) { |
||
| 36 | return false; |
||
| 37 | } |
||
| 38 | |||
| 39 | $orderCustomFields = $scope->getOrder()->getCustomFields() ?? []; |
||
| 40 | |||
| 41 | return CustomFieldRule::match($this->renderedField, $this->renderedFieldValue, $this->operator, $orderCustomFields); |
||
| 42 | } |
||
| 49 |