@@ -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 | { |
@@ -60,6 +60,7 @@ |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * Watch. |
| 63 | + * @param \Generator $cursor |
|
| 63 | 64 | */ |
| 64 | 65 | public static function watchAll(ServerRequestInterface $request, Identity $identity, Acl $acl, Iterable $cursor): ResponseInterface |
| 65 | 66 | { |
@@ -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 | { |
@@ -52,6 +52,10 @@ |
||
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * watch all. |
| 55 | + * @param boolean $query |
|
| 56 | + * @param boolean $offset |
|
| 57 | + * @param boolean $limit |
|
| 58 | + * @param boolean $sort |
|
| 55 | 59 | */ |
| 56 | 60 | public function watch(?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 57 | 61 | { |
@@ -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 | { |
@@ -216,6 +216,10 @@ |
||
| 216 | 216 | |
| 217 | 217 | /** |
| 218 | 218 | * Change stream. |
| 219 | + * @param boolean $query |
|
| 220 | + * @param boolean $offset |
|
| 221 | + * @param boolean $limit |
|
| 222 | + * @param boolean $sort |
|
| 219 | 223 | */ |
| 220 | 224 | public function watch(CollectionInterface $collection, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 221 | 225 | { |
@@ -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 | { |