You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (array_values($class->getIdentifierFieldNames()) != array_values($identifierFieldNames)) {
189
-
thrownewConstraintDefinitionException(
190
-
sprintf('The "%s" entity identifier field names should be "%s", not "%s".', $constraint->entityClass, implode(', ', $class->getIdentifierFieldNames()), implode(', ', $constraint->identifierFieldNames))
191
-
);
189
+
thrownewConstraintDefinitionException(sprintf('The "%s" entity identifier field names should be "%s", not "%s".', $constraint->entityClass, implode(', ', $class->getIdentifierFieldNames()), implode(', ', $constraint->identifierFieldNames)));
192
190
}
193
191
194
192
$entityMatched = true;
@@ -277,7 +275,7 @@ public function getFieldValues($object, ClassMetadata $class, array $fields, boo
277
275
thrownewConstraintDefinitionException(sprintf('The field "%s" is not mapped by Doctrine, so it cannot be validated for uniqueness.', $entityFieldName));
0 commit comments