Skip to content

Commit c9cbf50

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: adds hint of return value
2 parents 6780781 + f2f380d commit c9cbf50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security/ldap.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ use the ``ldap`` user provider.
197197
;
198198
};
199199
200+
.. versionadded:: 5.4
201+
202+
The ``LdapUser::getExtraFields()`` method always returns an array of values.
203+
In prior Symfony versions, ``LdapUserProvider`` threw an ``InvalidArgumentException``
204+
on multiple attributes.
205+
200206
.. caution::
201207

202208
The Security component escapes provided input data when the LDAP user

0 commit comments

Comments
 (0)