@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | * |
313 | 313 | * @param string $expression Xpath expression |
314 | 314 | * @param NULL|string|callable|\DOMNode|array|\Traversable $filter |
315 | - * @param NULL|string|callable|\DOMNode|array|\Traversable $stopAt |
|
315 | + * @param null|string $stopAt |
|
316 | 316 | * @param int $options |
317 | 317 | * @return Nodes |
318 | 318 | * @throws \OutOfBoundsException |
@@ -724,7 +724,7 @@ discard block |
||
724 | 724 | * If $elementsOnly is set to TRUE, only element nodes are used. |
725 | 725 | * |
726 | 726 | * @param callable $function |
727 | - * @param callable|bool|NULL $elementsFilter |
|
727 | + * @param boolean $elementsFilter |
|
728 | 728 | * @return $this|Nodes |
729 | 729 | * @throws \InvalidArgumentException |
730 | 730 | */ |