@@ -51,7 +51,6 @@ |
||
51 | 51 | /** |
52 | 52 | * Constructor. |
53 | 53 | * |
54 | - * @param App $app |
|
55 | 54 | * @param AsyncQueue $async |
56 | 55 | * @param LoggerInterface $logger |
57 | 56 | * @param GetOpt $getopt |
@@ -32,8 +32,7 @@ |
||
32 | 32 | * Create result. |
33 | 33 | * |
34 | 34 | * @param string $path |
35 | - * @param resource $stream |
|
36 | - * @param null|mixed $resource |
|
35 | + * @param resource $resource |
|
37 | 36 | */ |
38 | 37 | public function __construct(string $path, $resource = null) |
39 | 38 | { |
@@ -51,7 +51,6 @@ |
||
51 | 51 | /** |
52 | 52 | * Construct. |
53 | 53 | * |
54 | - * @param Server $server |
|
55 | 54 | * @param LoggerInterface $logger |
56 | 55 | */ |
57 | 56 | public function __construct(MongoDB $db, LoggerInterface $logger, string $meta_collection = 'delta') |
@@ -409,7 +409,6 @@ discard block |
||
409 | 409 | /** |
410 | 410 | * Get share node. |
411 | 411 | * |
412 | - * @param bool $reference |
|
413 | 412 | * |
414 | 413 | * @return Collection |
415 | 414 | */ |
@@ -858,7 +857,6 @@ discard block |
||
858 | 857 | /** |
859 | 858 | * Set app attributes. |
860 | 859 | * |
861 | - * @param AppInterface $app |
|
862 | 860 | * @param array $attributes |
863 | 861 | * |
864 | 862 | * @return NodeInterface |
@@ -874,7 +872,6 @@ discard block |
||
874 | 872 | /** |
875 | 873 | * Set app attribute. |
876 | 874 | * |
877 | - * @param AppInterface $app |
|
878 | 875 | * @param string $attribute |
879 | 876 | * @param mixed $value |
880 | 877 | * |
@@ -895,7 +892,6 @@ discard block |
||
895 | 892 | /** |
896 | 893 | * Remove app attribute. |
897 | 894 | * |
898 | - * @param AppInterface $app |
|
899 | 895 | * |
900 | 896 | * @return NodeInterface |
901 | 897 | */ |
@@ -912,7 +908,6 @@ discard block |
||
912 | 908 | /** |
913 | 909 | * Remove app attribute. |
914 | 910 | * |
915 | - * @param AppInterface $app |
|
916 | 911 | * @param string $attribute |
917 | 912 | * |
918 | 913 | * @return NodeInterface |
@@ -930,7 +925,6 @@ discard block |
||
930 | 925 | /** |
931 | 926 | * Get app attribute. |
932 | 927 | * |
933 | - * @param AppInterface $app |
|
934 | 928 | * @param string $attribute |
935 | 929 | * |
936 | 930 | * @return mixed |
@@ -947,7 +941,6 @@ discard block |
||
947 | 941 | /** |
948 | 942 | * Get app attributes. |
949 | 943 | * |
950 | - * @param AppInterface $app |
|
951 | 944 | * |
952 | 945 | * @return array |
953 | 946 | */ |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Get real id (reference). |
312 | 312 | * |
313 | - * @return ObjectId |
|
313 | + * @return ObjectId|null |
|
314 | 314 | */ |
315 | 315 | public function getRealId(): ?ObjectId |
316 | 316 | { |
@@ -339,10 +339,9 @@ discard block |
||
339 | 339 | /** |
340 | 340 | * Fetch children items of this collection. |
341 | 341 | * |
342 | - * @param string $node |
|
343 | 342 | * @param int $deleted |
344 | 343 | * @param array $filter |
345 | - * @param mixed $name |
|
344 | + * @param string $name |
|
346 | 345 | * |
347 | 346 | * @return NodeInterface |
348 | 347 | */ |
@@ -922,7 +921,7 @@ discard block |
||
922 | 921 | * @param string $name |
923 | 922 | * @param string $data |
924 | 923 | * |
925 | - * @return File |
|
924 | + * @return string |
|
926 | 925 | */ |
927 | 926 | public function createFile($name, $data = null): String |
928 | 927 | { |
@@ -29,7 +29,6 @@ |
||
29 | 29 | /** |
30 | 30 | * Delete file. |
31 | 31 | * |
32 | - * @param string $id |
|
33 | 32 | * @param array $attributes |
34 | 33 | * |
35 | 34 | * @return bool |
@@ -58,7 +58,6 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Inject hook. |
60 | 60 | * |
61 | - * @param HookInterface $adapter |
|
62 | 61 | * |
63 | 62 | * @return AdapterAwareInterface |
64 | 63 | */ |
@@ -198,7 +197,7 @@ discard block |
||
198 | 197 | * |
199 | 198 | * @param string $name |
200 | 199 | * |
201 | - * @return mixed |
|
200 | + * @return HookInterface |
|
202 | 201 | */ |
203 | 202 | public function getAdapter(string $name) |
204 | 203 | { |
@@ -24,11 +24,13 @@ discard block |
||
24 | 24 | { |
25 | 25 | /** |
26 | 26 | * Run: preExecuteAsyncJobs. |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function preExecuteAsyncJobs(): void; |
29 | 30 | |
30 | 31 | /** |
31 | 32 | * Run: preExecuteAsyncJobs. |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function postExecuteAsyncJobs(): void; |
34 | 36 | |
@@ -38,6 +40,7 @@ discard block |
||
38 | 40 | * Executed before authentication |
39 | 41 | * |
40 | 42 | * @param Auth $auth |
43 | + * @return void |
|
41 | 44 | */ |
42 | 45 | public function preAuthentication(Auth $auth): void; |
43 | 46 | |
@@ -46,9 +49,9 @@ discard block |
||
46 | 49 | * |
47 | 50 | * Executed after authentication but before the identity gets authenticated with the server |
48 | 51 | * |
49 | - * @param Server $server |
|
50 | 52 | * @param Identity $identity |
51 | 53 | * @param array $attributes |
54 | + * @return void |
|
52 | 55 | */ |
53 | 56 | public function preServerIdentity(Identity $identity, ?array &$attributes): void; |
54 | 57 | |
@@ -59,6 +62,7 @@ discard block |
||
59 | 62 | * |
60 | 63 | * @param Server $server |
61 | 64 | * @param User $user |
65 | + * @return void |
|
62 | 66 | */ |
63 | 67 | public function postServerIdentity(Server $server, User $user): void; |
64 | 68 | |
@@ -69,6 +73,7 @@ discard block |
||
69 | 73 | * |
70 | 74 | * @param File $node |
71 | 75 | * @param int $version |
76 | + * @return void |
|
72 | 77 | */ |
73 | 78 | public function preRestoreFile(File $node, int $version): void; |
74 | 79 | |
@@ -79,6 +84,7 @@ discard block |
||
79 | 84 | * |
80 | 85 | * @param File $node |
81 | 86 | * @param int $version |
87 | + * @return void |
|
82 | 88 | */ |
83 | 89 | public function postRestoreFile(File $node, int $version): void; |
84 | 90 | |
@@ -91,6 +97,7 @@ discard block |
||
91 | 97 | * @param resource|string $content |
92 | 98 | * @param bool $force |
93 | 99 | * @param array $attributes |
100 | + * @return void |
|
94 | 101 | */ |
95 | 102 | public function prePutFile(File $node, $content, bool $force, array $attributes): void; |
96 | 103 | |
@@ -103,6 +110,7 @@ discard block |
||
103 | 110 | * @param resource|string $content |
104 | 111 | * @param bool $force |
105 | 112 | * @param array $attributes |
113 | + * @return void |
|
106 | 114 | */ |
107 | 115 | public function postPutFile(File $node, $content, bool $force, array $attributes): void; |
108 | 116 | |
@@ -115,6 +123,7 @@ discard block |
||
115 | 123 | * @param string $name |
116 | 124 | * @param array $attributes |
117 | 125 | * @param bool $clone |
126 | + * @return void |
|
118 | 127 | */ |
119 | 128 | public function preCreateCollection(Collection $parent, string &$name, array &$attributes, bool $clone): void; |
120 | 129 | |
@@ -126,6 +135,7 @@ discard block |
||
126 | 135 | * @param Collection $parent |
127 | 136 | * @param Collection $node |
128 | 137 | * @param bool $clone |
138 | + * @return void |
|
129 | 139 | */ |
130 | 140 | public function postCreateCollection(Collection $parent, Collection $node, bool $clone): void; |
131 | 141 | |
@@ -138,6 +148,7 @@ discard block |
||
138 | 148 | * @param string $name |
139 | 149 | * @param array $attributes |
140 | 150 | * @param bool $clone |
151 | + * @return void |
|
141 | 152 | */ |
142 | 153 | public function preCreateFile(Collection $parent, string &$name, array &$attributes, bool $clone): void; |
143 | 154 | |
@@ -149,6 +160,7 @@ discard block |
||
149 | 160 | * @param Collection $parent |
150 | 161 | * @param File $node |
151 | 162 | * @param bool $clone |
163 | + * @return void |
|
152 | 164 | */ |
153 | 165 | public function postCreateFile(Collection $parent, File $node, bool $clone): void; |
154 | 166 | |
@@ -162,6 +174,7 @@ discard block |
||
162 | 174 | * @param int $conflict |
163 | 175 | * @param string $recursion |
164 | 176 | * @param bool $recursion_first |
177 | + * @return void |
|
165 | 178 | */ |
166 | 179 | public function preCopyCollection( |
167 | 180 | Collection $node, |
@@ -182,6 +195,7 @@ discard block |
||
182 | 195 | * @param int $conflict |
183 | 196 | * @param string $recursion |
184 | 197 | * @param bool $recursion_first |
198 | + * @return void |
|
185 | 199 | */ |
186 | 200 | public function postCopyCollection( |
187 | 201 | Collection $node, |
@@ -202,6 +216,7 @@ discard block |
||
202 | 216 | * @param int $conflict |
203 | 217 | * @param string $recursion |
204 | 218 | * @param bool $recursion_first |
219 | + * @return void |
|
205 | 220 | */ |
206 | 221 | public function preCopyFile( |
207 | 222 | File $node, |
@@ -222,6 +237,7 @@ discard block |
||
222 | 237 | * @param int $conflict |
223 | 238 | * @param string $recursion |
224 | 239 | * @param bool $recursion_first |
240 | + * @return void |
|
225 | 241 | */ |
226 | 242 | public function postCopyFile( |
227 | 243 | File $node, |
@@ -241,6 +257,7 @@ discard block |
||
241 | 257 | * @param bool $force |
242 | 258 | * @param string $recursion |
243 | 259 | * @param bool $recursion_first |
260 | + * @return void |
|
244 | 261 | */ |
245 | 262 | public function preDeleteCollection(Collection $node, bool $force, ?string $recursion, bool $recursion_first): void; |
246 | 263 | |
@@ -253,6 +270,7 @@ discard block |
||
253 | 270 | * @param bool $force |
254 | 271 | * @param string $recursion |
255 | 272 | * @param bool $recursion_first |
273 | + * @return void |
|
256 | 274 | */ |
257 | 275 | public function postDeleteCollection(Collection $node, bool $force, ?string $recursion, bool $recursion_first): void; |
258 | 276 | |
@@ -265,6 +283,7 @@ discard block |
||
265 | 283 | * @param bool $force |
266 | 284 | * @param string $recursion |
267 | 285 | * @param bool $recursion_first |
286 | + * @return void |
|
268 | 287 | */ |
269 | 288 | public function preDeleteFile(File $node, bool $force, ?string $recursion, bool $recursion_first): void; |
270 | 289 | |
@@ -277,6 +296,7 @@ discard block |
||
277 | 296 | * @param bool $force |
278 | 297 | * @param string $recursion |
279 | 298 | * @param bool $recursion_first |
299 | + * @return void |
|
280 | 300 | */ |
281 | 301 | public function postDeleteFile(File $node, bool $force, ?string $recursion, bool $recursion_first): void; |
282 | 302 | |
@@ -290,6 +310,7 @@ discard block |
||
290 | 310 | * @param array $remove_attributes |
291 | 311 | * @param string $recursion |
292 | 312 | * @param bool $recursion_first |
313 | + * @return void |
|
293 | 314 | */ |
294 | 315 | public function preSaveNodeAttributes( |
295 | 316 | NodeInterface $node, |
@@ -309,6 +330,7 @@ discard block |
||
309 | 330 | * @param array $remove_attributes |
310 | 331 | * @param string $recursion |
311 | 332 | * @param bool $recursion_first |
333 | + * @return void |
|
312 | 334 | */ |
313 | 335 | public function postSaveNodeAttributes( |
314 | 336 | NodeInterface $node, |
@@ -173,6 +173,7 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * Filesystem factory. |
175 | 175 | * |
176 | + * @param User $user |
|
176 | 177 | * @return Filesystem |
177 | 178 | */ |
178 | 179 | public function getFilesystem(?User $user = null): Filesystem |
@@ -376,7 +377,7 @@ discard block |
||
376 | 377 | * |
377 | 378 | * @param string $id |
378 | 379 | * |
379 | - * @return User |
|
380 | + * @return Group |
|
380 | 381 | */ |
381 | 382 | public function getGroupById(ObjectId $id): Group |
382 | 383 | { |