@@ -282,7 +282,7 @@ |
||
282 | 282 | * generateEvent() |
283 | 283 | * Create an Activity Event with the basic settings for the app. |
284 | 284 | * |
285 | - * @param $type |
|
285 | + * @param string $type |
|
286 | 286 | * |
287 | 287 | * @return \OCP\Activity\IEvent |
288 | 288 | */ |
@@ -303,6 +303,9 @@ |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | |
306 | + /** |
|
307 | + * @param integer $status |
|
308 | + */ |
|
306 | 309 | public function hasToBeValidStatusUpdate($status) { |
307 | 310 | try { |
308 | 311 | $this->hasToBeValidStatusUpdateWhileLinkDown($status); |
@@ -128,7 +128,7 @@ |
||
128 | 128 | |
129 | 129 | |
130 | 130 | /** |
131 | - * @return DataResponse |
|
131 | + * @return string |
|
132 | 132 | */ |
133 | 133 | public function testAsyncStatus() { |
134 | 134 | return $this->miscService->success( |
@@ -438,8 +438,8 @@ |
||
438 | 438 | |
439 | 439 | /** |
440 | 440 | * @param string $userId |
441 | - * @param $shareType |
|
442 | - * @param Node $node |
|
441 | + * @param integer $shareType |
|
442 | + * @param Node|null $node |
|
443 | 443 | * @param int $limit |
444 | 444 | * @param int $offset |
445 | 445 | * |
@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @param mixed $type |
|
97 | + * @param string $type |
|
98 | 98 | * |
99 | 99 | * @return GSEvent |
100 | 100 | */ |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Mount constructor. |
58 | 58 | * |
59 | - * @param $storage |
|
59 | + * @param string $storage |
|
60 | 60 | * @param string $mountPoint |
61 | 61 | * @param array $options |
62 | 62 | * @param MountManager $manager |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * Remove the mount points |
92 | 92 | * |
93 | - * @return mixed |
|
94 | - * @return bool |
|
93 | + * @return boolean |
|
94 | + * @return boolean |
|
95 | 95 | */ |
96 | 96 | public function removeMount() { |
97 | 97 | return $this->mountManager->unshare($this->gsShareId); |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | * @param $fileName |
258 | 258 | * @param string $link |
259 | 259 | * @param string $author |
260 | - * @param $circleName |
|
260 | + * @param string $circleName |
|
261 | 261 | * @param string $email |
262 | 262 | * |
263 | 263 | * @throws Exception |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | * @param string $circleName |
295 | 295 | * @param string $email |
296 | 296 | * |
297 | - * @param $password |
|
297 | + * @param string $password |
|
298 | 298 | * |
299 | 299 | * @throws NotFoundException |
300 | 300 | * @throws Exception |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * @param $subject |
372 | 372 | * @param $text |
373 | 373 | * @param $fileName |
374 | - * @param $link |
|
374 | + * @param string $link |
|
375 | 375 | * @param string $author |
376 | 376 | * @param string $circleName |
377 | 377 | * |
@@ -83,7 +83,7 @@ |
||
83 | 83 | |
84 | 84 | |
85 | 85 | /** |
86 | - * @param $search |
|
86 | + * @param string $search |
|
87 | 87 | * |
88 | 88 | * @return array |
89 | 89 | */ |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * limit the request to the children of a share |
115 | 115 | * |
116 | 116 | * @param IQueryBuilder $qb |
117 | - * @param $userId |
|
117 | + * @param string $userId |
|
118 | 118 | * @param int $parentId |
119 | 119 | */ |
120 | 120 | protected function limitToShareChildren(IQueryBuilder $qb, $userId, $parentId = -1) { |