From 1f5b491d5ae8480cc260d9c30e522c3767acaa5c Mon Sep 17 00:00:00 2001 From: Robin Krahnen Date: Wed, 4 Sep 2024 15:59:15 +0200 Subject: [PATCH] add feature comment --- Classes/Validation/Validator/SettingsValidator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Validation/Validator/SettingsValidator.php b/Classes/Validation/Validator/SettingsValidator.php index d0646f5..d83129e 100644 --- a/Classes/Validation/Validator/SettingsValidator.php +++ b/Classes/Validation/Validator/SettingsValidator.php @@ -57,6 +57,7 @@ class SettingsValidator extends AbstractValidator { $validations = $this->validations; + // TODO: feature idea - we could extend the library to automatically be part of the base conjunction validator $name = $this->options['name'] !== '' ? $this->options['name'] : TypeHandling::getTypeForValue($value); if (!isset($validations[$name])) { throw new InvalidValidationOptionsException(