optimized condition
This commit is contained in:
parent
a81c1bfe35
commit
f33647559a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class SettingsValidator extends AbstractValidator
|
|||
$validatorConfig['options']
|
||||
);
|
||||
|
||||
if (!$validator) {
|
||||
if ($validator === null) {
|
||||
throw new InvalidValidationConfigurationException(
|
||||
\sprintf(
|
||||
'Validator could not be resolved: "%s" Check your Validation.yaml',
|
||||
|
|
Loading…
Reference in a new issue