@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * make preview_icon available as a simple function |
184 | 184 | * Returns the path to the preview of the image. |
185 | 185 | * @param string $path path of file |
186 | - * @return link to the preview |
|
186 | + * @return string to the preview |
|
187 | 187 | * |
188 | 188 | * For further information have a look at OC_Helper::previewIcon |
189 | 189 | */ |
@@ -193,6 +193,7 @@ discard block |
||
193 | 193 | |
194 | 194 | /** |
195 | 195 | * @param string $path |
196 | + * @param string $token |
|
196 | 197 | */ |
197 | 198 | function publicPreview_icon ( $path, $token ) { |
198 | 199 | return OC_Helper::publicPreviewIcon( $path, $token ); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | /** |
97 | 97 | * Appends a variable |
98 | 98 | * @param string $key key |
99 | - * @param mixed $value value |
|
99 | + * @param string $value value |
|
100 | 100 | * @return boolean|null |
101 | 101 | * |
102 | 102 | * This function assigns a variable in an array context. If the key already |
@@ -524,7 +524,7 @@ |
||
524 | 524 | * @param array $input The array to work on |
525 | 525 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
526 | 526 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
527 | - * @return array |
|
527 | + * @return string |
|
528 | 528 | * @since 4.5.0 |
529 | 529 | */ |
530 | 530 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -327,7 +327,7 @@ |
||
327 | 327 | * split user and remote from federated cloud id |
328 | 328 | * |
329 | 329 | * @param string $address federated share address |
330 | - * @return array [user, remoteURL] |
|
330 | + * @return string[] [user, remoteURL] |
|
331 | 331 | * @throws \Exception |
332 | 332 | */ |
333 | 333 | public function splitUserRemote($address) { |
@@ -28,6 +28,9 @@ |
||
28 | 28 | |
29 | 29 | protected $mounts = []; |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $mountPoint |
|
33 | + */ |
|
31 | 34 | protected function registerMount($userId, $storage, $mountPoint, $arguments = null) { |
32 | 35 | if (!isset($this->mounts[$userId])) { |
33 | 36 | $this->mounts[$userId] = []; |
@@ -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() { |
@@ -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; |
@@ -463,7 +463,7 @@ |
||
463 | 463 | /** |
464 | 464 | * get database row of a give share |
465 | 465 | * |
466 | - * @param $id |
|
466 | + * @param integer $id |
|
467 | 467 | * @return array |
468 | 468 | * @throws ShareNotFound |
469 | 469 | */ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | |
26 | 26 | use OC\Share20\Share; |
27 | 27 | use OCP\Files\IRootFolder; |
28 | -use OCP\IAppConfig; |
|
29 | 28 | use OCP\IConfig; |
30 | 29 | use OCP\IL10N; |
31 | 30 | use OCP\ILogger; |
@@ -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 | */ |