@@ -49,6 +49,9 @@ discard block |
||
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 |
||
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 |
||
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 | */ |