Completed
Pull Request — master (#254)
by Benjamin
01:20
created
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.