We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c78e9b + 9d0c6fe commit 993623cCopy full SHA for 993623c
ValidatorBuilder.php
@@ -407,7 +407,7 @@ public function getValidator()
407
$metadataFactory = new LazyLoadingMetadataFactory($loader, $this->mappingCache);
408
}
409
410
- $validatorFactory = $this->validatorFactory ?: new ConstraintValidatorFactory();
+ $validatorFactory = $this->validatorFactory ?? new ConstraintValidatorFactory();
411
$translator = $this->translator;
412
413
if (null === $translator) {
0 commit comments