Merge pull request #32494 from woocommerce/fix/32154_payment_gateway_spec_warning
Fix PHP warning of missing default value in spec
This commit is contained in:
commit
7d76d4a1a6
|
@ -42,7 +42,7 @@ class OptionRuleProcessor implements RuleProcessorInterface {
|
|||
}
|
||||
|
||||
if ( isset( $rule->transformers ) && is_array( $rule->transformers ) ) {
|
||||
$option_value = TransformerService::apply( $option_value, $rule->transformers, $rule->default );
|
||||
$option_value = TransformerService::apply( $option_value, $rule->transformers, $default );
|
||||
}
|
||||
|
||||
return ComparisonOperation::compare(
|
||||
|
|
Loading…
Reference in New Issue