@@ -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 | { |
@@ -163,6 +163,9 @@ |
||
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | 165 | * Change stream. |
| 166 | + * @param boolean $after |
|
| 167 | + * @param boolean $query |
|
| 168 | + * @param boolean $offset |
|
| 166 | 169 | */ |
| 167 | 170 | public function watch(DataObjectInterface $object, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 168 | 171 | { |
@@ -63,6 +63,10 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | 65 | * Get all. |
| 66 | + * @param integer $query |
|
| 67 | + * @param integer $offset |
|
| 68 | + * @param integer $limit |
|
| 69 | + * @param integer $sort |
|
| 66 | 70 | */ |
| 67 | 71 | public function getAll(?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 68 | 72 | { |
@@ -144,6 +148,10 @@ discard block |
||
| 144 | 148 | |
| 145 | 149 | /** |
| 146 | 150 | * Change stream. |
| 151 | + * @param boolean $query |
|
| 152 | + * @param boolean $offset |
|
| 153 | + * @param boolean $limit |
|
| 154 | + * @param boolean $sort |
|
| 147 | 155 | */ |
| 148 | 156 | public function watch(?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
| 149 | 157 | { |
@@ -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 | { |