@@ -70,9 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Add delta event. |
72 | 72 | * |
73 | - * @param string $name |
|
74 | 73 | * @param NodeInterface $node |
75 | - * @param array $options |
|
76 | 74 | * |
77 | 75 | * @return ObjectId |
78 | 76 | */ |
@@ -359,7 +357,8 @@ discard block |
||
359 | 357 | /** |
360 | 358 | * Get delta feed filter. |
361 | 359 | * |
362 | - * @param array $cursor |
|
360 | + * @param integer[] $cursor |
|
361 | + * @param NodeInterface|null $node |
|
363 | 362 | * |
364 | 363 | * @return array |
365 | 364 | */ |
@@ -816,7 +816,6 @@ discard block |
||
816 | 816 | /** |
817 | 817 | * Set app attributes. |
818 | 818 | * |
819 | - * @param AppInterface $app |
|
820 | 819 | * @param array $attributes |
821 | 820 | * |
822 | 821 | * @return NodeInterface |
@@ -832,7 +831,6 @@ discard block |
||
832 | 831 | /** |
833 | 832 | * Set app attribute. |
834 | 833 | * |
835 | - * @param AppInterface $app |
|
836 | 834 | * @param string $attribute |
837 | 835 | * @param mixed $value |
838 | 836 | * |
@@ -853,7 +851,6 @@ discard block |
||
853 | 851 | /** |
854 | 852 | * Remove app attribute. |
855 | 853 | * |
856 | - * @param AppInterface $app |
|
857 | 854 | * |
858 | 855 | * @return NodeInterface |
859 | 856 | */ |
@@ -870,7 +867,6 @@ discard block |
||
870 | 867 | /** |
871 | 868 | * Remove app attribute. |
872 | 869 | * |
873 | - * @param AppInterface $app |
|
874 | 870 | * @param string $attribute |
875 | 871 | * |
876 | 872 | * @return NodeInterface |
@@ -888,7 +884,6 @@ discard block |
||
888 | 884 | /** |
889 | 885 | * Get app attribute. |
890 | 886 | * |
891 | - * @param AppInterface $app |
|
892 | 887 | * @param string $attribute |
893 | 888 | * |
894 | 889 | * @return mixed |
@@ -905,7 +900,6 @@ discard block |
||
905 | 900 | /** |
906 | 901 | * Get app attributes. |
907 | 902 | * |
908 | - * @param AppInterface $app |
|
909 | 903 | * |
910 | 904 | * @return array |
911 | 905 | */ |
@@ -944,7 +938,7 @@ discard block |
||
944 | 938 | /** |
945 | 939 | * Get meta attributes as array. |
946 | 940 | * |
947 | - * @param array $attribute Specify attributes to return |
|
941 | + * @param array $attributes Specify attributes to return |
|
948 | 942 | * |
949 | 943 | * @return array |
950 | 944 | */ |
@@ -1115,9 +1109,9 @@ discard block |
||
1115 | 1109 | /** |
1116 | 1110 | * Get array value via string path. |
1117 | 1111 | * |
1118 | - * @param iterable $arr |
|
1112 | + * @param iterable $array |
|
1119 | 1113 | * @param string $path |
1120 | - * @param string $seperator |
|
1114 | + * @param string $separator |
|
1121 | 1115 | * |
1122 | 1116 | * @return mixed |
1123 | 1117 | */ |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * @param string $class Force set node type |
215 | 215 | * @param bool $multiple Allow $id to be an array |
216 | 216 | * @param bool $allow_root Allow instance of root collection |
217 | - * @param bool $deleted How to handle deleted node |
|
217 | + * @param integer $deleted How to handle deleted node |
|
218 | 218 | * |
219 | 219 | * @return NodeInterface |
220 | 220 | */ |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | * @param string $id |
249 | 249 | * @param string $path |
250 | 250 | * @param string $class Force set node type |
251 | - * @param bool $deleted How to handle deleted node |
|
251 | + * @param integer $deleted How to handle deleted node |
|
252 | 252 | * |
253 | 253 | * @return Generator |
254 | 254 | */ |
@@ -302,7 +302,6 @@ |
||
302 | 302 | * HTTP/1.1 200 OK |
303 | 303 | * |
304 | 304 | * @param string $id |
305 | - * @param array $attributes |
|
306 | 305 | * |
307 | 306 | * @return Response |
308 | 307 | */ |
@@ -158,8 +158,6 @@ discard block |
||
158 | 158 | * "name": "peter.meier" |
159 | 159 | * } |
160 | 160 | * |
161 | - * @param string $id |
|
162 | - * @param string $uname |
|
163 | 161 | * |
164 | 162 | * @return Response |
165 | 163 | */ |
@@ -429,7 +427,6 @@ discard block |
||
429 | 427 | * |
430 | 428 | * @param string $uname |
431 | 429 | * @param string $id |
432 | - * @param array $attributes |
|
433 | 430 | * |
434 | 431 | * @return Response |
435 | 432 | */ |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * @param array $query |
108 | 108 | * @param array $attributes |
109 | 109 | * @param int $deleted |
110 | - * @param mixed $limit |
|
110 | + * @param integer $limit |
|
111 | 111 | * |
112 | 112 | * @return Response |
113 | 113 | */ |
@@ -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 | */ |