@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | /** |
| 395 | 395 | * store remote ID in federated reShare table |
| 396 | 396 | * |
| 397 | - * @param $shareId |
|
| 397 | + * @param integer $shareId |
|
| 398 | 398 | * @param $remoteId |
| 399 | 399 | */ |
| 400 | 400 | public function storeRemoteId($shareId, $remoteId) { |
@@ -801,7 +801,7 @@ discard block |
||
| 801 | 801 | /** |
| 802 | 802 | * get database row of a give share |
| 803 | 803 | * |
| 804 | - * @param $id |
|
| 804 | + * @param integer $id |
|
| 805 | 805 | * @return array |
| 806 | 806 | * @throws ShareNotFound |
| 807 | 807 | */ |
@@ -1001,12 +1001,12 @@ discard block |
||
| 1001 | 1001 | } |
| 1002 | 1002 | |
| 1003 | 1003 | /** |
| 1004 | - * @param $remote |
|
| 1005 | - * @param $token |
|
| 1006 | - * @param $name |
|
| 1007 | - * @param $owner |
|
| 1008 | - * @param $shareWith |
|
| 1009 | - * @param $remoteId |
|
| 1004 | + * @param string $remote |
|
| 1005 | + * @param string $token |
|
| 1006 | + * @param string $name |
|
| 1007 | + * @param string $owner |
|
| 1008 | + * @param string $shareWith |
|
| 1009 | + * @param integer $remoteId |
|
| 1010 | 1010 | * |
| 1011 | 1011 | * @return int |
| 1012 | 1012 | */ |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | /** |
| 118 | 118 | * Unix timestamp when lock was created |
| 119 | 119 | * |
| 120 | - * @return mixed |
|
| 120 | + * @return integer |
|
| 121 | 121 | * @since 11.0.0 |
| 122 | 122 | */ |
| 123 | 123 | public function getCreatedAt(): int { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @param $message |
|
| 184 | + * @param string $message |
|
| 185 | 185 | * @param array $additional |
| 186 | 186 | * @return array |
| 187 | 187 | */ |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | |
| 282 | 282 | /** |
| 283 | 283 | * @param string $userId |
| 284 | - * @return array |
|
| 284 | + * @return string[] |
|
| 285 | 285 | */ |
| 286 | 286 | public function generateTokenAndLink($userId) { |
| 287 | 287 | $token = $this->secureRandom->generate(21, |
@@ -222,10 +222,10 @@ |
||
| 222 | 222 | * inform recipient about public link share |
| 223 | 223 | * |
| 224 | 224 | * @param string $recipient recipient email address |
| 225 | - * @param string $filename the shared file |
|
| 226 | - * @param string $link the public link |
|
| 227 | 225 | * @param array $options allows ['to], ['cc'] and ['bcc'] recipients |
| 228 | - * @param int $expiration expiration date (timestamp) |
|
| 226 | + * @param string $subject |
|
| 227 | + * @param boolean|string $htmlBody |
|
| 228 | + * @param boolean|string $textBody |
|
| 229 | 229 | * @return string[] $result of failed recipients |
| 230 | 230 | */ |
| 231 | 231 | public function sendLinkShareMailFromBody($recipient, $subject, $htmlBody, $textBody, $options = []) { |
@@ -657,7 +657,7 @@ |
||
| 657 | 657 | /** |
| 658 | 658 | * Determine if the string is, strictly-speaking, empty or not |
| 659 | 659 | * |
| 660 | - * @param $value |
|
| 660 | + * @param string $value |
|
| 661 | 661 | * @return bool |
| 662 | 662 | * @since 10.0.1 |
| 663 | 663 | */ |