Browse Source

removed the `return false` as we only need a positive return information

Pierre Minnieur 13 years ago
parent
commit
3b1843827a
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/Composer/Autoload/ClassLoader.php

+ 1 - 3
src/Composer/Autoload/ClassLoader.php

@@ -83,7 +83,7 @@ class ClassLoader
      * Loads the given class or interface.
      *
      * @param string $class The name of the class
-     * @return Boolean True, if loaded
+     * @return Boolean|null True, if loaded
      */
     public function loadClass($class)
     {
@@ -91,8 +91,6 @@ class ClassLoader
             require $file;
             return true;
         }
-
-        return false;
     }
 
     /**