@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * Load nodes by id. |
276 | 276 | * |
277 | 277 | * @param string $class Force check node type |
278 | - * @param bool $deleted |
|
278 | + * @param integer $deleted |
|
279 | 279 | */ |
280 | 280 | public function findNodesById(array $id = [], ?string $class = null, int $deleted = NodeInterface::DELETED_INCLUDE): Generator |
281 | 281 | { |
@@ -367,6 +367,8 @@ discard block |
||
367 | 367 | * Load nodes by id. |
368 | 368 | * |
369 | 369 | * @param null|mixed $class |
370 | + * @param string $id |
|
371 | + * @param string $path |
|
370 | 372 | */ |
371 | 373 | public function getNodes(?array $id = null, ?array $path = null, $class = null, int $deleted = NodeInterface::DELETED_EXCLUDE): Generator |
372 | 374 | { |
@@ -395,9 +397,10 @@ discard block |
||
395 | 397 | /** |
396 | 398 | * Load node. |
397 | 399 | * |
398 | - * @param null|mixed $id |
|
399 | - * @param null|mixed $path |
|
400 | + * @param string|null $id |
|
401 | + * @param string|null $path |
|
400 | 402 | * @param null|mixed $class |
403 | + * @param integer $deleted |
|
401 | 404 | */ |
402 | 405 | public function getNode($id = null, $path = null, $class = null, bool $multiple = false, bool $allow_root = false, ?int $deleted = null): NodeInterface |
403 | 406 | { |
@@ -449,6 +452,8 @@ discard block |
||
449 | 452 | |
450 | 453 | /** |
451 | 454 | * Find nodes with custom filters. |
455 | + * @param integer $offset |
|
456 | + * @param integer $limit |
|
452 | 457 | */ |
453 | 458 | public function findNodesByFilter(array $filter, ?int $offset = null, ?int $limit = null): Generator |
454 | 459 | { |
@@ -475,6 +480,8 @@ discard block |
||
475 | 480 | |
476 | 481 | /** |
477 | 482 | * Get custom filtered children. |
483 | + * @param integer $offset |
|
484 | + * @param integer $limit |
|
478 | 485 | */ |
479 | 486 | public function findNodesByFilterUser(int $deleted, array $filter, ?int $offset = null, ?int $limit = null): Generator |
480 | 487 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $this->db->storage->updateOne( |
50 | 50 | ['_id' => $object['_id']], |
51 | 51 | [ |
52 | - '$set' => ['pointer' => $pointer], |
|
52 | + '$set' => ['pointer' => $pointer], |
|
53 | 53 | ] |
54 | 54 | ); |
55 | 55 | } |