@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | * Note that these get cached in-memory per-request for performance to avoid re-querying for the same results. |
274 | 274 | * |
275 | 275 | * @param string $dn |
276 | - * @param array $attributes List of specific AD attributes to return. Empty array means return everything. |
|
276 | + * @param string[] $attributes List of specific AD attributes to return. Empty array means return everything. |
|
277 | 277 | * @return array |
278 | 278 | */ |
279 | 279 | public function getNestedGroups($dn, $attributes = []) |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * @param Member |
478 | 478 | * @param array|null $data If passed, this is pre-existing AD attribute data to update the Member with. |
479 | 479 | * If not given, the data will be looked up by the user's GUID. |
480 | - * @return bool |
|
480 | + * @return false|null |
|
481 | 481 | */ |
482 | 482 | public function updateMemberFromLDAP(Member $member, $data = null) |
483 | 483 | { |
@@ -657,7 +657,7 @@ discard block |
||
657 | 657 | * @param Group $group An existing Group or a new Group object |
658 | 658 | * @param array $data LDAP group object data |
659 | 659 | * |
660 | - * @return bool |
|
660 | + * @return false|null |
|
661 | 661 | */ |
662 | 662 | public function updateGroupFromLDAP(Group $group, $data) |
663 | 663 | { |