From 348ec26c91ff6421ef9f52bdfca5cef5a2107f2e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 18 Oct 2012 18:55:49 +0200 Subject: [PATCH] Always return false or a class name, fixes #1231 --- src/Composer/Autoload/ClassLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Autoload/ClassLoader.php b/src/Composer/Autoload/ClassLoader.php index 38de12c72..a4a0dc5a6 100644 --- a/src/Composer/Autoload/ClassLoader.php +++ b/src/Composer/Autoload/ClassLoader.php @@ -202,6 +202,6 @@ class ClassLoader return $file; } - $this->classMap[$class] = false; + return $this->classMap[$class] = false; } }