From f79b34c1df16206ebc4b689d7aeaf3f3bd70d6c8 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 29 Jun 2014 13:00:57 +0200 Subject: [PATCH] Fix typo --- src/Composer/Util/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 3b65ac304..e9736c007 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -93,7 +93,7 @@ class Filesystem */ public function removeDirectory($directory) { - if (file_exists($dir) && is_link($directory)) { + if (file_exists($directory) && is_link($directory)) { return unlink($directory); }