@@ -49,8 +49,8 @@ class Ldap extends UserPassBase
4949 /**
5050 * Constructor for this authentication source.
5151 *
52- * @param array $info Information about this authentication source.
53- * @param array $config Configuration.
52+ * @param array<mixed> $info Information about this authentication source.
53+ * @param array<mixed> $config Configuration.
5454 */
5555 public function __construct (array $ info , array $ config )
5656 {
@@ -72,7 +72,7 @@ public function __construct(array $info, array $config)
7272 * @param string $username The username the user wrote.
7373 * @param string $password The password the user wrote.
7474 * @param array|null $sasl_args SASL options
75- * @return array Associative array with the users attributes.
75+ * @return array<mixed> Associative array with the users attributes.
7676 */
7777 protected function loginSasl (string $ username , #[\SensitiveParameter]string $ password , array $ sasl_args = []): array
7878 {
@@ -164,7 +164,7 @@ protected function loginSasl(string $username, #[\SensitiveParameter]string $pas
164164 *
165165 * @param string $username The username the user wrote.
166166 * @param string $password The password the user wrote.
167- * @return array Associative array with the users attributes.
167+ * @return array<mixed> Associative array with the users attributes.
168168 */
169169 protected function login (string $ username , #[\SensitiveParameter]string $ password ): array
170170 {
@@ -176,7 +176,7 @@ protected function login(string $username, #[\SensitiveParameter]string $passwor
176176 * Attempt to find a user's attributes given its username.
177177 *
178178 * @param string $username The username who's attributes we want.
179- * @return array Associative array with the users attributes.
179+ * @return array<mixed> Associative array with the users attributes.
180180 */
181181 public function getAttributes (string $ username ): array
182182 {
@@ -232,7 +232,7 @@ public function getAttributes(string $username): array
232232
233233 /**
234234 * @param \Symfony\Component\Ldap\Entry $entry
235- * @return array
235+ * @return array<mixed>
236236 */
237237 private function processAttributes (Entry $ entry ): array
238238 {
0 commit comments