@@ -276,10 +276,10 @@ discard block |
||
276 | 276 | * publish activity if a file/folder was shared by mail |
277 | 277 | * |
278 | 278 | * @param $subject |
279 | - * @param $parameters |
|
280 | - * @param $affectedUser |
|
279 | + * @param string[] $parameters |
|
280 | + * @param string $affectedUser |
|
281 | 281 | * @param $fileId |
282 | - * @param $filePath |
|
282 | + * @param string $filePath |
|
283 | 283 | */ |
284 | 284 | protected function publishActivity($subject, $parameters, $affectedUser, $fileId, $filePath) { |
285 | 285 | $event = $this->activityManager->generateEvent(); |
@@ -557,6 +557,7 @@ discard block |
||
557 | 557 | * @param string $uidOwner |
558 | 558 | * @param int $permissions |
559 | 559 | * @param string $token |
560 | + * @param string $password |
|
560 | 561 | * @return int |
561 | 562 | */ |
562 | 563 | protected function addShareToDB($itemSource, $itemType, $shareWith, $sharedBy, $uidOwner, $permissions, $token, $password) { |
@@ -950,7 +951,7 @@ discard block |
||
950 | 951 | /** |
951 | 952 | * get database row of a give share |
952 | 953 | * |
953 | - * @param $id |
|
954 | + * @param integer $id |
|
954 | 955 | * @return array |
955 | 956 | * @throws ShareNotFound |
956 | 957 | */ |