@@ -40,7 +40,6 @@ |
||
| 40 | 40 | use OCP\GroupInterface; |
| 41 | 41 | use OCP\IGroupManager; |
| 42 | 42 | use OC\Group\GroupMapper; |
| 43 | -use OC\Group\Database; |
|
| 44 | 43 | |
| 45 | 44 | /** |
| 46 | 45 | * Class Manager |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * @param string $pattern |
| 182 | 182 | * @param integer $limit |
| 183 | 183 | * @param integer $offset |
| 184 | - * @return Entity[] |
|
| 184 | + * @return Account[] |
|
| 185 | 185 | */ |
| 186 | 186 | public function find($gid, $pattern, $limit = null, $offset = null) { |
| 187 | 187 | return $this->searchAccountsSqlQuery($gid, false, $pattern, $limit, $offset); |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * @param string $pattern |
| 199 | 199 | * @param integer $limit |
| 200 | 200 | * @param integer $offset |
| 201 | - * @return Entity[] |
|
| 201 | + * @return Account[] |
|
| 202 | 202 | */ |
| 203 | 203 | public function findById($backendGroupId, $pattern, $limit = null, $offset = null) { |
| 204 | 204 | return $this->searchAccountsSqlQuery($backendGroupId, true, $pattern, $limit, $offset); |
@@ -491,7 +491,7 @@ discard block |
||
| 491 | 491 | * are users in the group (identified by backend group id |
| 492 | 492 | * if $isBackendGroupId is true, or gid if $isBackendGroupId is false) |
| 493 | 493 | * |
| 494 | - * @param string|int $groupId |
|
| 494 | + * @param string $groupId |
|
| 495 | 495 | * @param bool $isBackendGroupId |
| 496 | 496 | * @param string $pattern |
| 497 | 497 | * @return int |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | |
| 570 | 570 | /** |
| 571 | 571 | * @param IQueryBuilder $qb |
| 572 | - * @return int |
|
| 572 | + * @return boolean |
|
| 573 | 573 | */ |
| 574 | 574 | private function getAffectedQuery(IQueryBuilder $qb) { |
| 575 | 575 | // If affected is equal or more then 1, it means operation was successful |