Completed
Push — master ( 665782...a8382c )
by Matthijs
04:42 queued 02:50
created
src/VDB/Spider/PersistenceHandler/FilePersistenceHandler.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         }
50 50
     }
51 51
 
52
+    /**
53
+     * @param Resource $resource
54
+     */
52 55
     protected function getFileSystemFilename($resource)
53 56
     {
54 57
         $fullPath = $this->completePath($resource->getUri()->getPath());
@@ -56,6 +59,9 @@  discard block
 block discarded – undo
56 59
         return urlencode(basename($fullPath));
57 60
     }
58 61
 
62
+    /**
63
+     * @param Resource $resource
64
+     */
59 65
     protected function getFileSystemPath($resource)
60 66
     {
61 67
         $hostname = $resource->getUri()->getHost();
@@ -65,7 +71,7 @@  discard block
 block discarded – undo
65 71
     }
66 72
 
67 73
     /**
68
-     * @return The path that was provided with a default filenameappended if it is
74
+     * @return string path that was provided with a default filenameappended if it is
69 75
      *         a path ending in a /. This is because we don't want to persist
70 76
      *         the directories as files. This is similar to wget behaviour.
71 77
      */
Please login to merge, or discard this patch.