@@ -36,7 +36,6 @@ |
||
36 | 36 | */ |
37 | 37 | |
38 | 38 | use OC\Share\Filters\MailNotificationFilter; |
39 | -use OCP\IUser; |
|
40 | 39 | |
41 | 40 | OC_JSON::checkLoggedIn(); |
42 | 41 | OCP\JSON::callCheck(); |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | /** |
515 | 515 | * @param \OCP\Files\File|\OCP\Files\Folder $node |
516 | 516 | * @param boolean $includeTags include tags in response |
517 | - * @param int|null $stateFilter state filter or empty for all, defaults to 0 (accepted) |
|
517 | + * @param integer $stateFilter state filter or empty for all, defaults to 0 (accepted) |
|
518 | 518 | * @return Result |
519 | 519 | */ |
520 | 520 | private function getSharedWithMe($node = null, $includeTags, $stateFilter = 0) { |
@@ -944,7 +944,7 @@ discard block |
||
944 | 944 | } |
945 | 945 | |
946 | 946 | /** |
947 | - * @param $id |
|
947 | + * @param integer $id |
|
948 | 948 | * @param $state |
949 | 949 | * @return Result |
950 | 950 | */ |
@@ -1130,6 +1130,7 @@ discard block |
||
1130 | 1130 | * not support this we need to check all backends. |
1131 | 1131 | * |
1132 | 1132 | * @param string $id |
1133 | + * @param string $recipient |
|
1133 | 1134 | * @return \OCP\Share\IShare |
1134 | 1135 | * @throws ShareNotFound |
1135 | 1136 | */ |