Passed
Branch feature/cleanup (2bd333)
by Matthijs
06:03
created
src/VDB/Spider/Discoverer/DiscovererSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param Filter $filter
63
+     * @param PreFetchFilter $filter
64 64
      */
65 65
     public function addFilter(PreFetchFilter $filter)
66 66
     {
Please login to merge, or discard this patch.
src/VDB/Spider/Spider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
 
307 307
     /**
308 308
      * @param UriInterface $uri
309
-     * @return bool|Resource
309
+     * @return Resource
310 310
      */
311 311
     protected function fetchResource(UriInterface $uri)
312 312
     {
Please login to merge, or discard this patch.
src/VDB/Spider/Discoverer/DiscovererInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 
20 20
     /**
21 21
      * @param DiscovererSet $discovererSet
22
+     * @return void
22 23
      */
23 24
     public function setDiscovererSet(DiscovererSet $discovererSet);
24 25
 
Please login to merge, or discard this patch.
src/VDB/Spider/Filter/PreFetchFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 interface PreFetchFilter
12 12
 {
13 13
     /**
14
-     * @param \Symfony\Component\DomCrawler\Link $uri
14
+     * @param FilterableUri $uri
15 15
      * @return boolean
16 16
      */
17 17
     public function match(FilterableUri $uri);
Please login to merge, or discard this patch.
src/VDB/Spider/Filterable.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
     /**
11 11
      * @param bool $filtered
12 12
      * @param string $reason
13
+     * @return void
13 14
      */
14 15
     public function setFiltered($filtered = true, $reason = '');
15 16
 
Please login to merge, or discard this patch.
src/VDB/Spider/PersistenceHandler/PersistenceHandler.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -10,7 +10,15 @@
 block discarded – undo
10 10
 
11 11
 interface PersistenceHandler extends \Iterator, \Countable
12 12
 {
13
+    /**
14
+     * @param string $spiderId
15
+     *
16
+     * @return void
17
+     */
13 18
     public function setSpiderId($spiderId);
14 19
 
20
+    /**
21
+     * @return void
22
+     */
15 23
     public function persist(Resource $resource);
16 24
 }
Please login to merge, or discard this patch.
src/VDB/Spider/QueueManager/QueueManager.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      * @param int $traversalAlgorithm Choose from the class constants
18 18
      * TODO: This should be extracted to a Strategy pattern
19
+     * @return void
19 20
      */
20 21
     public function setTraversalAlgorithm($traversalAlgorithm);
21 22
 
@@ -26,6 +27,7 @@  discard block
 block discarded – undo
26 27
 
27 28
     /**
28 29
      * @param UriInterface
30
+     * @return void
29 31
      */
30 32
     public function addUri(UriInterface $uri);
31 33
 
Please login to merge, or discard this patch.