Fix PHP warning of missing default value in spec

This commit is contained in:
Lourens Schep 2022-04-05 14:38:17 -03:00
parent 5be65f39fd
commit c90922d9e4
1 changed files with 1 additions and 1 deletions

View File

@ -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(