Skip to content

Commit 5f1308d

Browse files
committed
Add missing return types
1 parent 1a1642e commit 5f1308d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/LdapUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ protected function loadUser(string $identifier, Entry $entry): UserInterface
167167
return new LdapUser($entry, $identifier, $password, $this->defaultRoles, $extraFields);
168168
}
169169

170-
private function getAttributeValue(Entry $entry, string $attribute)
170+
private function getAttributeValue(Entry $entry, string $attribute): mixed
171171
{
172172
if (!$entry->hasAttribute($attribute)) {
173173
throw new InvalidArgumentException(sprintf('Missing attribute "%s" for user "%s".', $attribute, $entry->getDn()));

0 commit comments

Comments
 (0)