Skip to content

Commit 89f93fa

Browse files
lyrixxfabpot
authored andcommitted
Fixed doc block on Filesystem::rename
| Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | -
1 parent 93ca76c commit 89f93fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Filesystem.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,13 @@ public function chgrp($files, $group, $recursive = false)
234234
}
235235

236236
/**
237-
* Renames a file.
237+
* Renames a file or a directory.
238238
*
239-
* @param string $origin The origin filename
240-
* @param string $target The new filename
239+
* @param string $origin The origin filename or directory
240+
* @param string $target The new filename or directory
241241
* @param Boolean $overwrite Whether to overwrite the target if it already exists
242242
*
243-
* @throws IOException When target file already exists
243+
* @throws IOException When target file or directory already exists
244244
* @throws IOException When origin cannot be renamed
245245
*/
246246
public function rename($origin, $target, $overwrite = false)

0 commit comments

Comments
 (0)