Skip to content

Commit c253fac

Browse files
authored
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).
1 parent 4955b28 commit c253fac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Authenticator/AuthenticatorCollection.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ protected function _create(object|string $class, string $alias, array $config):
6767
if (is_string($class)) {
6868
if (!empty($config['identifier'])) {
6969
$this->_identifiers = new IdentifierCollection((array)$config['identifier']);
70-
} else {
71-
deprecationWarning(
72-
'3.3.0',
73-
'loadIdentifier() usage is deprecated. Directly pass `\'identifier\'` config to the Authenticator.',
74-
);
7570
}
7671

7772
return new $class($this->_identifiers, $config);

0 commit comments

Comments
 (0)