diff --git a/typo3/sysext/core/Classes/Authentication/AbstractAuthenticationService.php b/typo3/sysext/core/Classes/Authentication/AbstractAuthenticationService.php index 6c8b0983dcb15f78a101137a0d70b7cb68b8ff0d..c7b928afb95d1e78d4e71698cc6bf4123164df78 100644 --- a/typo3/sysext/core/Classes/Authentication/AbstractAuthenticationService.php +++ b/typo3/sysext/core/Classes/Authentication/AbstractAuthenticationService.php @@ -122,7 +122,7 @@ class AbstractAuthenticationService implements LoggerAwareInterface * @param string $username User name * @param string $extraWhere Additional WHERE clause: " AND ... * @param array|string $dbUserSetup User db table definition, or empty string for $this->db_user - * @return mixed User array or FALSE + * @return array<string, mixed>|false User array or FALSE */ public function fetchUserRecord($username, $extraWhere = '', $dbUserSetup = '') { diff --git a/typo3/sysext/core/Classes/Authentication/AuthenticationService.php b/typo3/sysext/core/Classes/Authentication/AuthenticationService.php index 49b5508a50d14316a6609f700989839c79b01e70..8073e73bb781da5dac97e5950a6973950d95a9f4 100644 --- a/typo3/sysext/core/Classes/Authentication/AuthenticationService.php +++ b/typo3/sysext/core/Classes/Authentication/AuthenticationService.php @@ -52,7 +52,7 @@ class AuthenticationService extends AbstractAuthenticationService implements Mim /** * Find a user (eg. look up the user record in database when a login is sent) * - * @return mixed User array or FALSE + * @return array<string, mixed>|false User array or FALSE */ public function getUser() { @@ -97,7 +97,7 @@ class AuthenticationService extends AbstractAuthenticationService implements Mim * > 0: User authenticated successfully. Other auth services will still be asked. * <= 0: Authentication failed, no more checking needed by other auth services. * - * @param array $user User data + * @param array<string, mixed> $user User data * @return int Authentication status code, one of 0, 100, 200 */ public function authUser(array $user): int