@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | * |
| 179 | 179 | * @param string $path Path to the existing file. |
| 180 | 180 | * @param string $newpath The new path of the file. |
| 181 | - * @return bool True on success, false on failure. |
|
| 181 | + * @return string|false True on success, false on failure. |
|
| 182 | 182 | */ |
| 183 | 183 | public function rename($path, $newpath) |
| 184 | 184 | { |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | * Read and delete a file. |
| 274 | 274 | * |
| 275 | 275 | * @param string $path The path to the file. |
| 276 | - * @return string|false The file contents, or false on failure. |
|
| 276 | + * @return string The file contents, or false on failure. |
|
| 277 | 277 | */ |
| 278 | 278 | public function readAndDelete($path) |
| 279 | 279 | { |