@@ -31,7 +31,7 @@ |
||
31 | 31 | * Set options |
32 | 32 | * |
33 | 33 | * @param Config $config |
34 | - * @return MailNotification |
|
34 | + * @return Mail |
|
35 | 35 | */ |
36 | 36 | public function setOptions(Config $config): Mail |
37 | 37 | { |
@@ -20,14 +20,9 @@ discard block |
||
20 | 20 | /** |
21 | 21 | * Load user object with name or with id |
22 | 22 | * |
23 | - * @param string|\MongoDB\BSON\ObjectID|Auth $user |
|
24 | - * @param \MongoDB\Database $db |
|
23 | + * @param User $user |
|
25 | 24 | * @param Logger $logger |
26 | - * @param Config $config |
|
27 | - * @param Plugin $plugin |
|
28 | - * @param bool $autocreate |
|
29 | - * @param bool $ignore_deleted |
|
30 | - * @return void |
|
25 | + * @return boolean|string |
|
31 | 26 | */ |
32 | 27 | public function __construct(User $user, Logger $logger, Filesystem $fs) |
33 | 28 | { |
@@ -56,8 +51,6 @@ discard block |
||
56 | 51 | /** |
57 | 52 | * Sync user |
58 | 53 | * |
59 | - * @param string $q |
|
60 | - * @param bool $single |
|
61 | 54 | * @return array |
62 | 55 | */ |
63 | 56 | public function getUsersByGroup(string $group): array |
@@ -158,7 +158,7 @@ |
||
158 | 158 | * |
159 | 159 | * @param string $id |
160 | 160 | * @param string $p |
161 | - * @param string $version |
|
161 | + * @param integer $version |
|
162 | 162 | * @return Response |
163 | 163 | */ |
164 | 164 | public function postRestore(int $version, ?string $id=null, ?string $p=null): Response |
@@ -169,10 +169,10 @@ discard block |
||
169 | 169 | * @param string $id |
170 | 170 | * @param string $path |
171 | 171 | * @param string $class Force set node type |
172 | - * @param bool $deleted |
|
172 | + * @param integer $deleted |
|
173 | 173 | * @param bool $multiple Allow $id to be an array |
174 | 174 | * @param bool $allow_root Allow instance of root collection |
175 | - * @param bool $deleted How to handle deleted node |
|
175 | + * @param integer $deleted How to handle deleted node |
|
176 | 176 | * @return INode |
177 | 177 | */ |
178 | 178 | protected function _getNode( |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * @param string $destid |
281 | 281 | * @param string $destp |
282 | 282 | * @param int $conflict |
283 | - * @return void |
|
283 | + * @return Response |
|
284 | 284 | */ |
285 | 285 | public function postUndelete( |
286 | 286 | $id=null, |
@@ -503,7 +503,7 @@ discard block |
||
503 | 503 | * |
504 | 504 | * @param string $p |
505 | 505 | * @param int $offset |
506 | - * @param int $legnth |
|
506 | + * @param int $length |
|
507 | 507 | * @param string $encode |
508 | 508 | * @param bool $download |
509 | 509 | * @param string $name |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @param string $uid |
75 | 75 | * @param string $uname |
76 | - * @return User |
|
76 | + * @return CoreUser |
|
77 | 77 | */ |
78 | 78 | public function _getUser(?string $uid=null, ?string $uname=null) |
79 | 79 | { |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | * |
250 | 250 | * @param string $uid |
251 | 251 | * @param string $uname |
252 | - * @return void |
|
252 | + * @return Response |
|
253 | 253 | */ |
254 | 254 | public function getGroups(?string $uid=null, ?string $uname=null): Response |
255 | 255 | { |