optimized condition

This commit is contained in:
Robin Krahnen 2020-05-13 09:47:41 +02:00
parent a81c1bfe35
commit f33647559a

View file

@ -80,7 +80,7 @@ class SettingsValidator extends AbstractValidator
$validatorConfig['options'] $validatorConfig['options']
); );
if (!$validator) { if ($validator === null) {
throw new InvalidValidationConfigurationException( throw new InvalidValidationConfigurationException(
\sprintf( \sprintf(
'Validator could not be resolved: "%s" Check your Validation.yaml', 'Validator could not be resolved: "%s" Check your Validation.yaml',