@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @param Database $db |
73 | 73 | * @param Server $server |
74 | - * @param LoggerInterace $logger |
|
74 | + * @param LoggerInterface $logger |
|
75 | 75 | * @param iterable $config |
76 | 76 | */ |
77 | 77 | public function __construct(Database $db, Server $server, LoggerInterface $logger, ?Iterable $config = null) |
@@ -116,9 +116,7 @@ discard block |
||
116 | 116 | * |
117 | 117 | * @param iterable $receiver |
118 | 118 | * @param User $sender |
119 | - * @param string $subject |
|
120 | - * @param string $body |
|
121 | - * @param array $context |
|
119 | + * @param string $context |
|
122 | 120 | * |
123 | 121 | * @return bool |
124 | 122 | */ |
@@ -226,10 +224,10 @@ discard block |
||
226 | 224 | /** |
227 | 225 | * Add notification. |
228 | 226 | * |
229 | - * @param array $receiver |
|
230 | - * @param User $user |
|
227 | + * @param User $receiver |
|
231 | 228 | * @param MessageInterface $message |
232 | 229 | * @param array $context |
230 | + * @param User $sender |
|
233 | 231 | * |
234 | 232 | * @return ObjectId |
235 | 233 | */ |
@@ -50,7 +50,6 @@ |
||
50 | 50 | * @param Router $router |
51 | 51 | * @param Hook $hook |
52 | 52 | * @param Share $sharelink |
53 | - * @param AttributeDecorator $decorator |
|
54 | 53 | * @param LoggerInterface $logger |
55 | 54 | */ |
56 | 55 | public function __construct(Router $router, Hook $hook, Share $sharelink, NodeAttributeDecorator $node_decorator_v2, NodeAttributeDecoratorv1 $node_decorator_v1, LoggerInterface $logger) |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | /** |
182 | 182 | * Find raw node. |
183 | 183 | * |
184 | - * @param ObjectId $id |
|
184 | + * @param ObjectId|null $id |
|
185 | 185 | * |
186 | 186 | * @return array |
187 | 187 | */ |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | * |
303 | 303 | * @param array $id |
304 | 304 | * @param string $class Force check node type |
305 | - * @param bool $deleted |
|
305 | + * @param integer $deleted |
|
306 | 306 | * |
307 | 307 | * @return Generator |
308 | 308 | */ |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | * @param string $class Force set node type |
432 | 432 | * @param bool $multiple Allow $id to be an array |
433 | 433 | * @param bool $allow_root Allow instance of root collection |
434 | - * @param bool $deleted How to handle deleted node |
|
434 | + * @param integer $deleted How to handle deleted node |
|
435 | 435 | * |
436 | 436 | * @return NodeInterface |
437 | 437 | */ |
@@ -493,7 +493,6 @@ discard block |
||
493 | 493 | * @param array $filter |
494 | 494 | * @param int $offset |
495 | 495 | * @param int $limit |
496 | - * @param int $total |
|
497 | 496 | * |
498 | 497 | * @return Generator |
499 | 498 | */ |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | /** |
270 | 270 | * Get real id (reference). |
271 | 271 | * |
272 | - * @return ObjectId |
|
272 | + * @return ObjectId|null |
|
273 | 273 | */ |
274 | 274 | public function getRealId(): ?ObjectId |
275 | 275 | { |
@@ -298,7 +298,6 @@ discard block |
||
298 | 298 | /** |
299 | 299 | * Fetch children items of this collection. |
300 | 300 | * |
301 | - * @param string $node |
|
302 | 301 | * @param int $deleted |
303 | 302 | * @param array $filter |
304 | 303 | * @param mixed $name |
@@ -860,7 +859,7 @@ discard block |
||
860 | 859 | * @param string $name |
861 | 860 | * @param string $data |
862 | 861 | * |
863 | - * @return File |
|
862 | + * @return string |
|
864 | 863 | */ |
865 | 864 | public function createFile($name, $data = null): String |
866 | 865 | { |
@@ -885,7 +884,6 @@ discard block |
||
885 | 884 | * |
886 | 885 | * @param callable $callable |
887 | 886 | * @param int $deleted |
888 | - * @param bool $ignore_exception |
|
889 | 887 | * |
890 | 888 | * @return bool |
891 | 889 | */ |
@@ -209,6 +209,7 @@ |
||
209 | 209 | /** |
210 | 210 | * Filesystem factory. |
211 | 211 | * |
212 | + * @param User $user |
|
212 | 213 | * @return Filesystem |
213 | 214 | */ |
214 | 215 | public function getFilesystem(?User $user = null): Filesystem |
@@ -265,6 +265,8 @@ |
||
265 | 265 | /** |
266 | 266 | * Get resolved member. |
267 | 267 | * |
268 | + * @param integer $offset |
|
269 | + * @param integer $limit |
|
268 | 270 | * @return Generator |
269 | 271 | */ |
270 | 272 | public function getResolvedMembers(?int $offset = null, ?int $limit = null): ?Generator |
@@ -722,6 +722,8 @@ |
||
722 | 722 | /** |
723 | 723 | * Get resolved groups. |
724 | 724 | * |
725 | + * @param integer $offset |
|
726 | + * @param integer $limit |
|
725 | 727 | * @return Generator |
726 | 728 | */ |
727 | 729 | public function getResolvedGroups(?int $offset = null, ?int $limit = null): ?Generator |
@@ -73,7 +73,6 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Constructor. |
75 | 75 | * |
76 | - * @param Database $db |
|
77 | 76 | * @param LoggerInterface $logger |
78 | 77 | */ |
79 | 78 | public function __construct(SocketFactory $factory, LoggerInterface $logger, ?Iterable $config = null) |
@@ -131,7 +130,7 @@ discard block |
||
131 | 130 | * |
132 | 131 | * @param File $file |
133 | 132 | * |
134 | - * @return array |
|
133 | + * @return File |
|
135 | 134 | */ |
136 | 135 | public function scan(File $file): array |
137 | 136 | { |