Fix PHPdoc in user_ldap

using scrutinizer patch
Add missing param hint
Merge pull request #8220 from owncloud/type-hinting-ldap

Fix PHPdoc in user_ldap