@@ -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 | */ |
@@ -24,26 +24,30 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param string $message |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function info($message); |
29 | 30 | |
30 | 31 | /** |
31 | 32 | * @param string $message |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function warning($message); |
34 | 36 | |
35 | 37 | /** |
36 | 38 | * @param int $max |
39 | + * @return void |
|
37 | 40 | */ |
38 | 41 | public function startProgress($max = 0); |
39 | 42 | |
40 | 43 | /** |
41 | 44 | * @param int $step |
45 | + * @return void |
|
42 | 46 | */ |
43 | 47 | public function advance($step = 1); |
44 | 48 | |
45 | 49 | /** |
46 | - * @param int $max |
|
50 | + * @return void |
|
47 | 51 | */ |
48 | 52 | public function finishProgress(); |
49 | 53 |
@@ -45,6 +45,7 @@ discard block |
||
45 | 45 | class Files { |
46 | 46 | /** |
47 | 47 | * Recusive deletion of folders |
48 | + * @param string $dir |
|
48 | 49 | * @return bool |
49 | 50 | * @since 5.0.0 |
50 | 51 | */ |
@@ -66,7 +67,7 @@ discard block |
||
66 | 67 | /** |
67 | 68 | * Search for files by mimetype |
68 | 69 | * @param string $mimetype |
69 | - * @return array |
|
70 | + * @return \OC\Files\FileInfo[] |
|
70 | 71 | * @since 6.0.0 |
71 | 72 | */ |
72 | 73 | static public function searchByMime( $mimetype ) { |