@@ -69,7 +69,7 @@ |
||
| 69 | 69 | /** |
| 70 | 70 | * Set options. |
| 71 | 71 | * |
| 72 | - * @param iterable $config |
|
| 72 | + * @param iterable|null $config |
|
| 73 | 73 | */ |
| 74 | 74 | public function setOptions(?Iterable $config): ApiClient |
| 75 | 75 | { |
@@ -139,6 +139,7 @@ |
||
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | 141 | * Get all. |
| 142 | + * @param Closure $build |
|
| 142 | 143 | */ |
| 143 | 144 | public function getAllFrom(Collection $collection, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null, ?Closure $build = null): Generator |
| 144 | 145 | { |
@@ -296,6 +296,7 @@ |
||
| 296 | 296 | |
| 297 | 297 | /** |
| 298 | 298 | * Process ruleset. |
| 299 | + * @return string |
|
| 299 | 300 | */ |
| 300 | 301 | protected function rewrite($value, array $ruleset) |
| 301 | 302 | { |
@@ -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 | { |
@@ -185,6 +185,9 @@ |
||
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | 187 | * Change stream. |
| 188 | + * @param boolean $offset |
|
| 189 | + * @param integer $limit |
|
| 190 | + * @param integer $sort |
|
| 188 | 191 | */ |
| 189 | 192 | public function watch(CollectionInterface $collection, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 190 | 193 | { |
@@ -133,6 +133,8 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * {@inheritdoc} |
| 136 | + * @param integer $offset |
|
| 137 | + * @param integer $limit |
|
| 136 | 138 | */ |
| 137 | 139 | public function getAll(ResourceNamespaceInterface $namespace, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 138 | 140 | { |
@@ -266,6 +268,7 @@ discard block |
||
| 266 | 268 | |
| 267 | 269 | /** |
| 268 | 270 | * Build. |
| 271 | + * @param DataObjectInterface $object |
|
| 269 | 272 | */ |
| 270 | 273 | public function build(array $resource, ?DataObjectInterface $object = null): DataObjectRelationInterface |
| 271 | 274 | { |
@@ -180,6 +180,8 @@ |
||
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | 182 | * Change stream. |
| 183 | + * @param integer $offset |
|
| 184 | + * @param integer $limit |
|
| 183 | 185 | */ |
| 184 | 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 |
| 185 | 187 | { |
@@ -52,6 +52,8 @@ |
||
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * watch all. |
| 55 | + * @param integer $offset |
|
| 56 | + * @param integer $limit |
|
| 55 | 57 | */ |
| 56 | 58 | public function watch(?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 57 | 59 | { |
@@ -180,6 +180,8 @@ |
||
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | 182 | * Change stream. |
| 183 | + * @param integer $offset |
|
| 184 | + * @param integer $limit |
|
| 183 | 185 | */ |
| 184 | 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 |
| 185 | 187 | { |