Skip to content

Commit 993623c

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [CS] Replace easy occurences of ?: with ??
2 parents 1c78e9b + 9d0c6fe commit 993623c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ValidatorBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public function getValidator()
407407
$metadataFactory = new LazyLoadingMetadataFactory($loader, $this->mappingCache);
408408
}
409409

410-
$validatorFactory = $this->validatorFactory ?: new ConstraintValidatorFactory();
410+
$validatorFactory = $this->validatorFactory ?? new ConstraintValidatorFactory();
411411
$translator = $this->translator;
412412

413413
if (null === $translator) {

0 commit comments

Comments
 (0)