@@ -249,6 +249,8 @@ discard block |
||
| 249 | 249 | * Load nodes by id. |
| 250 | 250 | * |
| 251 | 251 | * @param null|mixed $class |
| 252 | + * @param string $id |
|
| 253 | + * @param string $path |
|
| 252 | 254 | */ |
| 253 | 255 | public function getNodes(?array $id = null, ?array $path = null, $class = null, int $deleted = NodeInterface::DELETED_EXCLUDE): Generator |
| 254 | 256 | { |
@@ -277,9 +279,10 @@ discard block |
||
| 277 | 279 | /** |
| 278 | 280 | * Load node. |
| 279 | 281 | * |
| 280 | - * @param null|mixed $id |
|
| 281 | - * @param null|mixed $path |
|
| 282 | + * @param string|null $id |
|
| 283 | + * @param string|null $path |
|
| 282 | 284 | * @param null|mixed $class |
| 285 | + * @param integer $deleted |
|
| 283 | 286 | */ |
| 284 | 287 | public function getNode($id = null, $path = null, $class = null, bool $multiple = false, bool $allow_root = false, ?int $deleted = null): NodeInterface |
| 285 | 288 | { |
@@ -359,7 +362,7 @@ discard block |
||
| 359 | 362 | * @param string $class Force set node type |
| 360 | 363 | * @param bool $multiple Allow $id to be an array |
| 361 | 364 | * @param bool $allow_root Allow instance of root collection |
| 362 | - * @param bool $deleted How to handle deleted node |
|
| 365 | + * @param integer $deleted How to handle deleted node |
|
| 363 | 366 | */ |
| 364 | 367 | protected function _getNode( |
| 365 | 368 | ?string $id = null, |
@@ -391,7 +394,7 @@ discard block |
||
| 391 | 394 | * @param string $id |
| 392 | 395 | * @param string $path |
| 393 | 396 | * @param string $class Force set node type |
| 394 | - * @param bool $deleted How to handle deleted node |
|
| 397 | + * @param integer $deleted How to handle deleted node |
|
| 395 | 398 | */ |
| 396 | 399 | protected function _getNodes( |
| 397 | 400 | $id = null, |
@@ -477,6 +477,8 @@ |
||
| 477 | 477 | |
| 478 | 478 | /** |
| 479 | 479 | * Get custom filtered children. |
| 480 | + * @param integer $offset |
|
| 481 | + * @param integer $limit |
|
| 480 | 482 | */ |
| 481 | 483 | public function findNodesByFilterUser(int $deleted, array $filter, ?int $offset = null, ?int $limit = null): Generator |
| 482 | 484 | { |
@@ -98,6 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * Build a single dimension array with all nodes. |
| 101 | + * @param integer[] $cursor |
|
| 101 | 102 | */ |
| 102 | 103 | public function buildFeedFromCurrentState(?array $cursor = null, int $limit = 100, ?NodeInterface $node = null): array |
| 103 | 104 | { |
@@ -220,6 +221,7 @@ discard block |
||
| 220 | 221 | |
| 221 | 222 | /** |
| 222 | 223 | * Get delta feed with changes and cursor. |
| 224 | + * @param NodeInterface $node |
|
| 223 | 225 | */ |
| 224 | 226 | public function getDeltaFeed(?string $cursor = null, int $limit = 250, ?NodeInterface $node = null): array |
| 225 | 227 | { |
@@ -327,6 +329,7 @@ discard block |
||
| 327 | 329 | |
| 328 | 330 | /** |
| 329 | 331 | * Get event log. |
| 332 | + * @param NodeInterface $node |
|
| 330 | 333 | */ |
| 331 | 334 | public function getEventLog(int $limit = 100, int $skip = 0, ?NodeInterface $node = null, ?int &$total = null): Iterable |
| 332 | 335 | { |
@@ -575,6 +578,7 @@ discard block |
||
| 575 | 578 | |
| 576 | 579 | /** |
| 577 | 580 | * Get children with custom filter. |
| 581 | + * @param integer $limit |
|
| 578 | 582 | */ |
| 579 | 583 | protected function findNodeAttributesWithCustomFilter( |
| 580 | 584 | ?array $filter = null, |
@@ -1078,6 +1078,8 @@ |
||
| 1078 | 1078 | |
| 1079 | 1079 | /** |
| 1080 | 1080 | * Duplicate name with a uniqid within name. |
| 1081 | + * @param string $name |
|
| 1082 | + * @param string $class |
|
| 1081 | 1083 | */ |
| 1082 | 1084 | protected function getDuplicateName(?string $name = null, ?string $class = null): string |
| 1083 | 1085 | { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * @param string $class Force set node type |
| 74 | 74 | * @param bool $multiple Allow $id to be an array |
| 75 | 75 | * @param bool $allow_root Allow instance of root collection |
| 76 | - * @param bool $deleted How to handle deleted node |
|
| 76 | + * @param integer $deleted How to handle deleted node |
|
| 77 | 77 | */ |
| 78 | 78 | protected function _getNode( |
| 79 | 79 | ?string $id = null, |