Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class AuthenticationService implements AuthenticationServiceInterface, Impersona
/**
* Constructor
*
* @param array $config Configuration options.
* @param array<string, mixed> $config Configuration options.
*/
public function __construct(array $config = [])
{
Expand Down Expand Up @@ -151,7 +151,7 @@ public function authenticators(): AuthenticatorCollection
* Loads an authenticator.
*
* @param string $name Name or class name.
* @param array $config Authenticator configuration.
* @param array<string, mixed> $config Authenticator configuration.
* @return \Authentication\Authenticator\AuthenticatorInterface
*/
public function loadAuthenticator(string $name, array $config = []): AuthenticatorInterface
Expand All @@ -163,7 +163,7 @@ public function loadAuthenticator(string $name, array $config = []): Authenticat
* Loads an identifier.
*
* @param string $name Name or class name.
* @param array $config Identifier configuration.
* @param array<string, mixed> $config Identifier configuration.
* @return \Authentication\Identifier\IdentifierInterface Identifier instance
* @deprecated 3.3.0: loadIdentifier() usage is deprecated. Directly pass Identifier to Authenticator.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/AuthenticationServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface AuthenticationServiceInterface extends PersistenceInterface
* Loads an authenticator.
*
* @param string $name Name or class name.
* @param array $config Authenticator configuration.
* @param array<string, mixed> $config Authenticator configuration.
* @return \Authentication\Authenticator\AuthenticatorInterface
*/
public function loadAuthenticator(string $name, array $config = []): AuthenticatorInterface;
Expand All @@ -37,7 +37,7 @@ public function loadAuthenticator(string $name, array $config = []): Authenticat
* Loads an identifier.
*
* @param string $name Name or class name.
* @param array $config Identifier configuration.
* @param array<string, mixed> $config Identifier configuration.
* @return \Authentication\Identifier\IdentifierInterface
* @deprecated 3.3.0: loadIdentifier() usage is deprecated. Directly pass Identifier to Authenticator.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Authenticator/AbstractAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ abstract class AbstractAuthenticator implements AuthenticatorInterface
* Constructor
*
* @param \Authentication\Identifier\IdentifierInterface $identifier Identifier or identifiers collection.
* @param array $config Configuration settings.
* @param array<string, mixed> $config Configuration settings.
*/
public function __construct(IdentifierInterface $identifier, array $config = [])
{
Expand Down
4 changes: 2 additions & 2 deletions src/Authenticator/AuthenticatorCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AuthenticatorCollection extends AbstractCollection
* Constructor.
*
* @param \Authentication\Identifier\IdentifierCollection $identifiers Identifiers collection.
* @param array $config Config array.
* @param array<string, mixed> $config Config array.
*/
public function __construct(IdentifierCollection $identifiers, array $config = [])
{
Expand All @@ -58,7 +58,7 @@ public function __construct(IdentifierCollection $identifiers, array $config = [
*
* @param \Authentication\Authenticator\AuthenticatorInterface|class-string<\Authentication\Authenticator\AuthenticatorInterface> $class Authenticator class.
* @param string $alias Authenticator alias.
* @param array $config Config array.
* @param array<string, mixed> $config Config array.
* @return \Authentication\Authenticator\AuthenticatorInterface
* @throws \RuntimeException
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Authenticator/HttpDigestAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class HttpDigestAuthenticator extends HttpBasicAuthenticator
* Defaults to `md5($config['realm'])`
*
* @param \Authentication\Identifier\IdentifierInterface $identifier Identifier instance.
* @param array $config Configuration settings.
* @param array<string, mixed> $config Configuration settings.
*/
public function __construct(IdentifierInterface $identifier, array $config = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Component/AuthenticationComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class AuthenticationComponent extends Component implements EventDispatcherInterf
/**
* Initialize component.
*
* @param array $config The config data.
* @param array<string, mixed> $config The config data.
* @return void
*/
public function initialize(array $config): void
Expand Down
2 changes: 1 addition & 1 deletion src/Identifier/AbstractIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ abstract class AbstractIdentifier implements IdentifierInterface
/**
* Constructor
*
* @param array $config Configuration
* @param array<string, mixed> $config Configuration
*/
public function __construct(array $config = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Identifier/IdentifierCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function identify(array $credentials): ArrayAccess|array|null
*
* @param \Authentication\Identifier\IdentifierInterface|class-string<\Authentication\Identifier\IdentifierInterface> $class Identifier class.
* @param string $alias Identifier alias.
* @param array $config Config array.
* @param array<string, mixed> $config Config array.
* @return \Authentication\Identifier\IdentifierInterface
* @throws \RuntimeException
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Identifier/Resolver/OrmResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class OrmResolver implements ResolverInterface
/**
* Constructor.
*
* @param array $config Config array.
* @param array<string, mixed> $config Config array.
*/
public function __construct(array $config = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Identity.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Identity implements IdentityInterface
* Constructor
*
* @param \ArrayAccess|array $data Identity data
* @param array $config Config options
* @param array<string, mixed> $config Config options
*/
public function __construct(ArrayAccess|array $data, array $config = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/PasswordHasher/AbstractPasswordHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class AbstractPasswordHasher implements PasswordHasherInterface
/**
* Constructor
*
* @param array $config Array of config.
* @param array<string, mixed> $config Array of config.
*/
public function __construct(array $config = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/PasswordHasher/FallbackPasswordHasher.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class FallbackPasswordHasher extends AbstractPasswordHasher
/**
* Constructor
*
* @param array $config configuration options for this object. Requires the
* @param array<string, mixed> $config configuration options for this object. Requires the
* `hashers` key to be present in the array with a list of other hashers to be
* used
*/
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/IdentityHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class IdentityHelper extends Helper
*
* Implement this method to avoid having to overwrite the constructor and call parent.
*
* @param array $config The configuration settings provided to this helper.
* @param array<string, mixed> $config The configuration settings provided to this helper.
* @return void
*/
public function initialize(array $config): void
Expand Down