fixed typo

This commit is contained in:
Fabien Potencier 2011-12-03 09:00:15 +01:00
parent 8ad94fbf18
commit 48b084eb85

View File

@ -77,7 +77,6 @@ class UniqueEntityValidator extends ConstraintValidator
if (count($relatedId) > 1) {
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));
);
}
$criteria[$fieldName] = array_pop($relatedId);
}