From 80e9999d1c7b897662647f404a0b16955e1b03c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Proch=C3=A1zka?= Date: Thu, 6 Sep 2012 17:26:42 +0200 Subject: [PATCH] typo --- src/Composer/Autoload/AutoloadGenerator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 797f89d5f..f03f85293 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -191,7 +191,8 @@ EOF; foreach ($packages as $package) { if ($package instanceof AliasPackage) { continue; - } elseif ($package === $mainPackage) { + } + if ($package === $mainPackage) { $packageMap[] = array($mainPackage, ''); continue; }