@@ -131,6 +131,10 @@ discard block |
||
131 | 131 | |
132 | 132 | /** |
133 | 133 | * {@inheritdoc} |
134 | + * @param integer $query |
|
135 | + * @param integer $offset |
|
136 | + * @param integer $limit |
|
137 | + * @param integer $sort |
|
134 | 138 | */ |
135 | 139 | public function getAll(ResourceNamespaceInterface $namespace, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
136 | 140 | { |
@@ -235,6 +239,9 @@ discard block |
||
235 | 239 | |
236 | 240 | /** |
237 | 241 | * Change stream. |
242 | + * @param boolean $after |
|
243 | + * @param boolean $query |
|
244 | + * @param boolean $offset |
|
238 | 245 | */ |
239 | 246 | public function watch(ResourceNamespaceInterface $namespace, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
240 | 247 | { |
@@ -245,6 +252,7 @@ discard block |
||
245 | 252 | |
246 | 253 | /** |
247 | 254 | * Build. |
255 | + * @param DataObjectInterface $object |
|
248 | 256 | */ |
249 | 257 | public function build(array $resource, ?DataObjectInterface $object = null): DataObjectRelationInterface |
250 | 258 | { |
@@ -409,6 +409,7 @@ |
||
409 | 409 | |
410 | 410 | /** |
411 | 411 | * Get identifier. |
412 | + * @return string |
|
412 | 413 | */ |
413 | 414 | protected function getResourceId(array $object, array $endpoint_object = []): ?string |
414 | 415 | { |
@@ -64,6 +64,10 @@ discard block |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Get all. |
67 | + * @param integer $query |
|
68 | + * @param integer $offset |
|
69 | + * @param integer $limit |
|
70 | + * @param integer $sort |
|
67 | 71 | */ |
68 | 72 | public function getAll(ResourceNamespaceInterface $namespace, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
69 | 73 | { |
@@ -174,6 +178,10 @@ discard block |
||
174 | 178 | |
175 | 179 | /** |
176 | 180 | * Change stream. |
181 | + * @param boolean $query |
|
182 | + * @param boolean $offset |
|
183 | + * @param boolean $limit |
|
184 | + * @param boolean $sort |
|
177 | 185 | */ |
178 | 186 | public function watch(ResourceNamespaceInterface $namespace, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
179 | 187 | { |
@@ -106,6 +106,10 @@ |
||
106 | 106 | |
107 | 107 | /** |
108 | 108 | * Change stream. |
109 | + * @param boolean $query |
|
110 | + * @param boolean $offset |
|
111 | + * @param boolean $limit |
|
112 | + * @param boolean $sort |
|
109 | 113 | */ |
110 | 114 | public function watch(ResourceNamespaceInterface $namespace, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
111 | 115 | { |