From 7ce5a526ecc1e9fb762975c9cab0582823b062c1 Mon Sep 17 00:00:00 2001 From: Alessandro Desantis Date: Mon, 9 Apr 2012 21:19:37 +0200 Subject: [PATCH] [Filesystem] Fixed docs for rename(). --- src/Symfony/Component/Filesystem/Filesystem.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 8ddddadcac..1eb8e05b03 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -128,6 +128,7 @@ class Filesystem * @param string $target The new filename * * @throws \RuntimeException When target file already exists + * @throws \RuntimeException When origin cannot be renamed */ public function rename($origin, $target) {