aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/composer/ClassLoader.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-29 08:33:58 +0000
committerMario <mario@mariovavti.com>2021-04-29 08:33:58 +0000
commit54845a76277f90f448fb2eab64e07e2162524dfd (patch)
tree81483f3c3b3a9284043a5bf7732fd445fe11336b /vendor/composer/ClassLoader.php
parent2f6da0be7e775f33195ba3d888ec7ee972c900cf (diff)
downloadvolse-hubzilla-54845a76277f90f448fb2eab64e07e2162524dfd.tar.gz
volse-hubzilla-54845a76277f90f448fb2eab64e07e2162524dfd.tar.bz2
volse-hubzilla-54845a76277f90f448fb2eab64e07e2162524dfd.zip
composer dump autoload
Diffstat (limited to 'vendor/composer/ClassLoader.php')
-rw-r--r--vendor/composer/ClassLoader.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
index 4d989a212..247294d66 100644
--- a/vendor/composer/ClassLoader.php
+++ b/vendor/composer/ClassLoader.php
@@ -311,8 +311,10 @@ class ClassLoader
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
if (null === $this->vendorDir) {
- //no-op
- } elseif ($prepend) {
+ return;
+ }
+
+ if ($prepend) {
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
} else {
unset(self::$registeredLoaders[$this->vendorDir]);