@@ -777,7 +777,7 @@ |
||
777 | 777 | /** |
778 | 778 | * check if path points to a files version |
779 | 779 | * |
780 | - * @param $path |
|
780 | + * @param string $path |
|
781 | 781 | * @return bool |
782 | 782 | */ |
783 | 783 | protected function isVersion($path) { |
@@ -655,7 +655,7 @@ discard block |
||
655 | 655 | * if the size limit for the trash bin is reached, we delete the oldest |
656 | 656 | * files in the trash bin until we meet the limit again |
657 | 657 | * |
658 | - * @param array $files |
|
658 | + * @param \OCP\Files\FileInfo[] $files |
|
659 | 659 | * @param string $user |
660 | 660 | * @param int $availableSpace available disc space |
661 | 661 | * @return int size of deleted files |
@@ -683,7 +683,7 @@ discard block |
||
683 | 683 | /** |
684 | 684 | * delete files older then max storage time |
685 | 685 | * |
686 | - * @param array $files list of files sorted by mtime |
|
686 | + * @param \OCP\Files\FileInfo[] $files list of files sorted by mtime |
|
687 | 687 | * @param string $user |
688 | 688 | * @return integer[] size of deleted files and number of deleted files |
689 | 689 | */ |
@@ -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; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace OCA\Files\Service; |
26 | 26 | |
27 | -use OC\Files\FileInfo; |
|
28 | 27 | use OCP\Files\Node; |
29 | 28 | |
30 | 29 | /** |
@@ -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); |