p85b
This commit is contained in:
@@ -1402,6 +1402,10 @@ final readonly class RetriexEffectiveConfigProvider
|
||||
$errors[] = sprintf('genre.configuration_values.shop_query_runtime.generic_device_anchor.anchor_rules.%s.anchor must be a non-empty string.', (string) $index);
|
||||
}
|
||||
|
||||
if (array_key_exists('template', $rule) && (!is_string($rule['template']) || trim((string) $rule['template']) === '')) {
|
||||
$errors[] = sprintf('genre.configuration_values.shop_query_runtime.generic_device_anchor.anchor_rules.%s.template must be a non-empty string when configured.', (string) $index);
|
||||
}
|
||||
|
||||
$this->validateStringList(
|
||||
$this->toList($rule['match_terms'] ?? []),
|
||||
sprintf('genre.configuration_values.shop_query_runtime.generic_device_anchor.anchor_rules.%s.match_terms', (string) $index),
|
||||
|
||||
Reference in New Issue
Block a user