Skip to content

Commit 9d0c6fe

Browse files
committed
[CS] Replace easy occurences of ?: with ??
1 parent acfa85f commit 9d0c6fe

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
@@ -368,7 +368,7 @@ public function getValidator()
368368
$metadataFactory = new LazyLoadingMetadataFactory($loader, $this->mappingCache);
369369
}
370370

371-
$validatorFactory = $this->validatorFactory ?: new ConstraintValidatorFactory();
371+
$validatorFactory = $this->validatorFactory ?? new ConstraintValidatorFactory();
372372
$translator = $this->translator;
373373

374374
if (null === $translator) {

0 commit comments

Comments
 (0)