@@ -265,7 +265,7 @@ |
||
265 | 265 | /** |
266 | 266 | * Check if value is null or an array has any null item |
267 | 267 | * |
268 | - * @param mixed $param |
|
268 | + * @param string[] $param |
|
269 | 269 | * |
270 | 270 | * @return bool |
271 | 271 | */ |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * @param string $ownerFederatedId |
81 | 81 | * @param string $sharedBy |
82 | 82 | * @param string $sharedByFederatedId |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | * @throws \OC\HintException |
85 | 85 | * @throws \OC\ServerNotAvailableException |
86 | 86 | */ |
@@ -298,6 +298,16 @@ discard block |
||
298 | 298 | return $result; |
299 | 299 | } |
300 | 300 | |
301 | + /** |
|
302 | + * @param string $token |
|
303 | + * @param string $shareWith |
|
304 | + * @param string $name |
|
305 | + * @param integer $remote_id |
|
306 | + * @param string $owner |
|
307 | + * @param string $ownerFederatedId |
|
308 | + * @param string $sharedBy |
|
309 | + * @param string $sharedByFederatedId |
|
310 | + */ |
|
301 | 311 | protected function sendOcmRemoteShare($token, $shareWith, $name, $remote_id, $owner, $ownerFederatedId, $sharedBy, $sharedByFederatedId) { |
302 | 312 | list($user, $remote) = $this->addressHandler->splitUserRemote($shareWith); |
303 | 313 | if ($user && $remote) { |
@@ -331,6 +341,16 @@ discard block |
||
331 | 341 | return false; |
332 | 342 | } |
333 | 343 | |
344 | + /** |
|
345 | + * @param string $token |
|
346 | + * @param string $shareWith |
|
347 | + * @param string $name |
|
348 | + * @param integer $remote_id |
|
349 | + * @param string $owner |
|
350 | + * @param string $ownerFederatedId |
|
351 | + * @param string $sharedBy |
|
352 | + * @param string $sharedByFederatedId |
|
353 | + */ |
|
334 | 354 | protected function sendPreOcmRemoteShare($token, $shareWith, $name, $remote_id, $owner, $ownerFederatedId, $sharedBy, $sharedByFederatedId) { |
335 | 355 | list($user, $remote) = $this->addressHandler->splitUserRemote($shareWith); |
336 | 356 |