@@ -152,7 +152,7 @@ |
||
152 | 152 | |
153 | 153 | /** |
154 | 154 | * @param string $gid |
155 | - * @return \OCP\IGroup |
|
155 | + * @return null|Group |
|
156 | 156 | */ |
157 | 157 | protected function getGroupObject($gid) { |
158 | 158 | $backends = array(); |
@@ -476,7 +476,7 @@ |
||
476 | 476 | |
477 | 477 | /** |
478 | 478 | * Removes an app |
479 | - * @param string $name name of the application to remove |
|
479 | + * @param string $appId |
|
480 | 480 | * @return boolean |
481 | 481 | * |
482 | 482 | * |
@@ -152,7 +152,7 @@ |
||
152 | 152 | * |
153 | 153 | * @param string $loginname The login name of the user to log in |
154 | 154 | * @param string $password The password of the user |
155 | - * @return boolean|null |
|
155 | + * @return boolean |
|
156 | 156 | * |
157 | 157 | * Log in a user and regenerate a new session - if the password is ok |
158 | 158 | */ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | use OCA\DAV\CalDAV\CalDavBackend; |
26 | 26 | use OCA\DAV\CardDAV\CardDavBackend; |
27 | 27 | use OCA\DAV\CardDAV\ContactsManager; |
28 | -use OCA\DAV\CardDAV\SyncJob; |
|
29 | 28 | use OCA\DAV\CardDAV\SyncService; |
30 | 29 | use OCA\DAV\Connector\Sabre\Principal; |
31 | 30 | use OCA\DAV\DAV\GroupPrincipalBackend; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * DispatcherEvent constructor. |
47 | 47 | * |
48 | 48 | * @param string $event |
49 | - * @param $appID |
|
49 | + * @param string $appID |
|
50 | 50 | * @param \OCP\IGroup[] $groups |
51 | 51 | * @since 9.0.0 |
52 | 52 | */ |
@@ -308,6 +308,7 @@ discard block |
||
308 | 308 | * @param array $params the parameters of the sql query |
309 | 309 | * @param int $limit the maximum number of rows |
310 | 310 | * @param int $offset from which row we want to start |
311 | + * @param string $msg |
|
311 | 312 | * @return string formatted error message string |
312 | 313 | * @since 9.1.0 |
313 | 314 | */ |
@@ -360,7 +361,7 @@ discard block |
||
360 | 361 | * Returns an db result and throws exceptions when there are more or less |
361 | 362 | * results |
362 | 363 | * @param string $sql the sql query |
363 | - * @param array $params the parameters of the sql query |
|
364 | + * @param string[] $params the parameters of the sql query |
|
364 | 365 | * @param int $limit the maximum number of rows |
365 | 366 | * @param int $offset from which row we want to start |
366 | 367 | * @throws DoesNotExistException if the item does not exist |