Completed
Pull Request — master (#229)
by Gert de
01:20
created
src/CrawlQueue/CollectionCrawlQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Crawler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -340,6 +340,9 @@
 block discarded – undo
340 340
         }
341 341
     }
342 342
 
343
+    /**
344
+     * @return Node
345
+     */
343 346
     public function addToDepthTree(UriInterface $url, UriInterface $parentUrl, Node $node = null): ?Node
344 347
     {
345 348
         if (is_null($this->maximumDepth)) {
Please login to merge, or discard this patch.
src/Handlers/CrawlRequestFulfilled.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         $this->crawler->getCrawlObservers()->crawled($crawlUrl, $response);
75 75
     }
76 76
 
77
+    /**
78
+     * @param integer $readMaximumBytes
79
+     */
77 80
     protected function convertBodyToString(StreamInterface $bodyStream, $readMaximumBytes = 1024 * 1024 * 2): string
78 81
     {
79 82
         $bodyStream->rewind();
Please login to merge, or discard this patch.