Skip to content

Commit 48b084e

Browse files
committed
fixed typo
1 parent 8ad94fb commit 48b084e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public function isValid($entity, Constraint $constraint)
7777

7878
if (count($relatedId) > 1) {
7979
throw new ConstraintDefinitionException(sprintf('Associated entities are not allowed to have more than one identifier field to be part of a unique constraint in %s#%s.', $class->name, $fieldName));
80-
);
8180
}
8281
$criteria[$fieldName] = array_pop($relatedId);
8382
}

0 commit comments

Comments
 (0)