Completed
Push — master ( fef339...535d8f )
by Freek
09:08
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   +6 added lines patch added patch discarded remove patch
@@ -273,6 +273,9 @@  discard block
 block discarded – undo
273 273
             strlen($haystack);
274 274
     }
275 275
 
276
+    /**
277
+     * @param integer $readMaximumBytes
278
+     */
276 279
     protected function convertBodyToString(StreamInterface $bodyStream, $readMaximumBytes = 1024 * 1024 * 2): string
277 280
     {
278 281
         $bodyStream->rewind();
@@ -382,6 +385,9 @@  discard block
 block discarded – undo
382 385
         return in_array($uri->getScheme(), ['http', 'https']);
383 386
     }
384 387
 
388
+    /**
389
+     * @return Node
390
+     */
385 391
     protected function addtoDepthTree(Node $node, UriInterface $url, UriInterface $parentUrl)
386 392
     {
387 393
         $returnNode = null;
Please login to merge, or discard this patch.