@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param string $path |
123 | 123 | * |
124 | - * @return bool |
|
124 | + * @return boolean|null |
|
125 | 125 | */ |
126 | 126 | public function delete($path) |
127 | 127 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * |
134 | 134 | * @param string $dirname |
135 | 135 | * |
136 | - * @return bool |
|
136 | + * @return boolean|null |
|
137 | 137 | */ |
138 | 138 | public function deleteDir($dirname) |
139 | 139 | { |
@@ -295,6 +295,11 @@ discard block |
||
295 | 295 | return '/' . ltrim(rtrim($path, '/'), '/'); |
296 | 296 | } |
297 | 297 | |
298 | + /** |
|
299 | + * @param string $path |
|
300 | + * @param string $contents |
|
301 | + * @param string $mode |
|
302 | + */ |
|
298 | 303 | protected function upload($path, $contents, $mode) |
299 | 304 | { |
300 | 305 | $location = $this->applyPathPrefix($path); |