@@ -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 |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
307 | 307 | * </code> |
308 | 308 | * |
309 | - * @param mixed $select The selection expressions. |
|
309 | + * @param string $select The selection expressions. |
|
310 | 310 | * |
311 | 311 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
312 | 312 | */ |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
331 | 331 | * </code> |
332 | 332 | * |
333 | - * @param mixed $select The selection expressions. |
|
333 | + * @param QueryFunction $select The selection expressions. |
|
334 | 334 | * @param string $alias The column alias used in the constructed query. |
335 | 335 | * |
336 | 336 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
@@ -652,7 +652,7 @@ discard block |
||
652 | 652 | * ->where($or); |
653 | 653 | * </code> |
654 | 654 | * |
655 | - * @param mixed $predicates The restriction predicates. |
|
655 | + * @param CompositeExpression $predicates The restriction predicates. |
|
656 | 656 | * |
657 | 657 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
658 | 658 | */ |
@@ -1034,7 +1034,7 @@ discard block |
||
1034 | 1034 | * |
1035 | 1035 | * @param string $name |
1036 | 1036 | * |
1037 | - * @return IParameter |
|
1037 | + * @return string |
|
1038 | 1038 | */ |
1039 | 1039 | public function createParameter($name) { |
1040 | 1040 | return new Parameter(':' . $name); |
@@ -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 | */ |