]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/LdapService.php
Added copy considerations
[bookstack] / app / Auth / Access / LdapService.php
index ddd6ada97fe429d4e1fe9ae3b1aa7ca5b9e1cbbc..e529b80fdc5129ad326e82567ebb0b0a44a38404 100644 (file)
@@ -165,7 +165,7 @@ class LdapService
      * Bind the system user to the LDAP connection using the given credentials
      * otherwise anonymous access is attempted.
      *
-     * @param $connection
+     * @param resource $connection
      *
      * @throws LdapException
      */
@@ -285,6 +285,7 @@ class LdapService
         }
 
         $userGroups = $this->groupFilter($user);
+
         return $this->getGroupsRecursive($userGroups, []);
     }