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 (!$registryinstanceof ManagerRegistry && !$registryinstanceof LegacyManagerRegistry) {
162
-
thrownew \InvalidArgumentException(sprintf('Argument 2 to %s::validateDoctrineFieldName must be an instance of %s, %s passed.', __CLASS__, ManagerRegistry::class, \is_object($registry) ? \get_class($registry) : \gettype($registry)));
162
+
thrownew \InvalidArgumentException(sprintf('Argument 2 to %s::validateDoctrineFieldName must be an instance of %s, %s passed.', __CLASS__, ManagerRegistry::class, \is_object($registry) ? $registry::class : \gettype($registry)));
163
163
}
164
164
165
165
// check reserved words
@@ -181,7 +181,7 @@ public static function validateEmailAddress(?string $email): string
0 commit comments