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        | -
This commit is contained in:
Grégoire Pineau 2013-06-03 14:55:30 +02:00 committed by Fabien Potencier
parent 8d2cda3395
commit 9527001399
1 changed files with 4 additions and 4 deletions

View File

@ -234,13 +234,13 @@ class Filesystem
}
/**
* Renames a file.
* Renames a file or a directory.
*
* @param string $origin The origin filename
* @param string $target The new filename
* @param string $origin The origin filename or directory
* @param string $target The new filename or directory
* @param Boolean $overwrite Whether to overwrite the target if it already exists
*
* @throws IOException When target file already exists
* @throws IOException When target file or directory already exists
* @throws IOException When origin cannot be renamed
*/
public function rename($origin, $target, $overwrite = false)