Skip to content

Commit b39de78

Browse files
committed
Fix quoting style consistency.
1 parent 06e9555 commit b39de78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Validator/Constraints/UniqueEntityValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function validate($entity, Constraint $constraint)
7777
$criteria = array();
7878
foreach ($fields as $fieldName) {
7979
if (!$class->hasField($fieldName) && !$class->hasAssociation($fieldName)) {
80-
throw new ConstraintDefinitionException(sprintf("The field '%s' is not mapped by Doctrine, so it cannot be validated for uniqueness.", $fieldName));
80+
throw new ConstraintDefinitionException(sprintf('The field "%s" is not mapped by Doctrine, so it cannot be validated for uniqueness.', $fieldName));
8181
}
8282

8383
$criteria[$fieldName] = $class->reflFields[$fieldName]->getValue($entity);

0 commit comments

Comments
 (0)