@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * |
| 65 | 65 | * @param string $user_dn The user DN for which to infer the rules |
| 66 | 66 | * @param array $ownerships The owned groups for the user DN |
| 67 | - * @return array The roles of the given user |
|
| 67 | + * @return string[] The roles of the given user |
|
| 68 | 68 | */ |
| 69 | 69 | private function getRoles($user_dn, $ownerships) |
| 70 | 70 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | * Retrieves all members for the given group CN |
| 151 | 151 | * |
| 152 | 152 | * @param string $group_ou The common name of the group for which we want to retrieve the members |
| 153 | - * @param array $fields A list of fields we want to return from the search |
|
| 153 | + * @param string[] $fields A list of fields we want to return from the search |
|
| 154 | 154 | * @return bool|\Zend\Ldap\Collection |
| 155 | 155 | * @throws LdapException |
| 156 | 156 | */ |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * Retrieves all memberships for the given DN |
| 220 | 220 | * |
| 221 | 221 | * @param string $user_dn The DN for which to get the memberships |
| 222 | - * @param array $fields A list of fields we want to return from the search |
|
| 222 | + * @param string[] $fields A list of fields we want to return from the search |
|
| 223 | 223 | * @param string $attribute The attribute which we use for filtering |
| 224 | 224 | * @return bool|\Zend\Ldap\Collection |
| 225 | 225 | * @throws LdapException |