From c253fac69de01b704f05274cb9b3ff9da59b67ca Mon Sep 17 00:00:00 2001 From: Umer Salman Date: Wed, 30 Jul 2025 15:06:13 -0500 Subject: [PATCH] Remove deprecationWarning for creating an Authenticator without Identifier This should not give a deprecationWarning as not having an identifier should be a supported configuration for certain identifiers (e.g. Session). --- src/Authenticator/AuthenticatorCollection.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Authenticator/AuthenticatorCollection.php b/src/Authenticator/AuthenticatorCollection.php index 1796f87b..56f566c0 100644 --- a/src/Authenticator/AuthenticatorCollection.php +++ b/src/Authenticator/AuthenticatorCollection.php @@ -67,11 +67,6 @@ protected function _create(object|string $class, string $alias, array $config): if (is_string($class)) { if (!empty($config['identifier'])) { $this->_identifiers = new IdentifierCollection((array)$config['identifier']); - } else { - deprecationWarning( - '3.3.0', - 'loadIdentifier() usage is deprecated. Directly pass `\'identifier\'` config to the Authenticator.', - ); } return new $class($this->_identifiers, $config);