@@ -68,7 +68,7 @@ |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | - * @param CrawlUrl|\Psr\Http\Message\UriInterface|string $crawlUrl |
|
71 | + * @param CrawlUrl $crawlUrl |
|
72 | 72 | * |
73 | 73 | * @return bool |
74 | 74 | */ |
@@ -305,6 +305,9 @@ |
||
305 | 305 | } |
306 | 306 | } |
307 | 307 | |
308 | + /** |
|
309 | + * @return Node |
|
310 | + */ |
|
308 | 311 | public function addToDepthTree(UriInterface $url, UriInterface $parentUrl, Node $node = null): ?Node |
309 | 312 | { |
310 | 313 | $node = $node ?? $this->depthTree; |