1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Fix access of the static loader property

This commit is contained in:
Jordi Boggiano 2012-12-25 16:08:36 +01:00
parent 0e0af00ad9
commit 1beccf9f0f
4 changed files with 12 additions and 12 deletions

View file

@ -357,12 +357,12 @@ class ComposerAutoloaderInit$suffix
public static function getLoader()
{
if (null !== static::\$loader) {
return static::\$loader;
if (null !== self::\$loader) {
return self::\$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit$suffix', 'loadClassLoader'));
static::\$loader = \$loader = new \\Composer\\Autoload\\ClassLoader();
self::\$loader = \$loader = new \\Composer\\Autoload\\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit$suffix', 'loadClassLoader'));
\$vendorDir = $vendorPathCode;