@@ -128,7 +128,6 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * Get $n re-shares from the database |
| 130 | 130 | * |
| 131 | - * @param int $n The max number of shares to fetch |
|
| 132 | 131 | * @return \Doctrine\DBAL\Driver\Statement |
| 133 | 132 | */ |
| 134 | 133 | private function getReShares() { |
@@ -558,7 +558,7 @@ |
||
| 558 | 558 | /** |
| 559 | 559 | * update permissions in database |
| 560 | 560 | * |
| 561 | - * @param IShare $share |
|
| 561 | + * @param \OC\Share20\Share $share |
|
| 562 | 562 | * @param int $permissions |
| 563 | 563 | */ |
| 564 | 564 | protected function updatePermissionsInDatabase(IShare $share, $permissions) { |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use OCP\SystemTag\TagAlreadyExistsException; |
| 31 | 31 | use OCP\SystemTag\TagNotFoundException; |
| 32 | 32 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 33 | -use OCP\IUserManager; |
|
| 34 | 33 | use OCP\IGroupManager; |
| 35 | 34 | use OCP\SystemTag\ISystemTag; |
| 36 | 35 | use OCP\IUser; |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use OCA\Federation\Hooks; |
| 31 | 31 | use OCA\Federation\Middleware\AddServerMiddleware; |
| 32 | 32 | use OCA\Federation\SyncFederationAddressBooks; |
| 33 | -use OCA\Federation\SyncJob; |
|
| 34 | 33 | use OCA\Federation\TrustedServers; |
| 35 | 34 | use OCP\API; |
| 36 | 35 | use OCP\App; |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | /** |
| 323 | 323 | * store remote ID in federated reShare table |
| 324 | 324 | * |
| 325 | - * @param $shareId |
|
| 325 | + * @param integer $shareId |
|
| 326 | 326 | * @param $remoteId |
| 327 | 327 | */ |
| 328 | 328 | public function storeRemoteId($shareId, $remoteId) { |
@@ -653,7 +653,7 @@ discard block |
||
| 653 | 653 | /** |
| 654 | 654 | * get database row of a give share |
| 655 | 655 | * |
| 656 | - * @param $id |
|
| 656 | + * @param integer $id |
|
| 657 | 657 | * @return array |
| 658 | 658 | * @throws ShareNotFound |
| 659 | 659 | */ |