aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/composer/autoload_real.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/composer/autoload_real.php')
-rw-r--r--vendor/composer/autoload_real.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
index 16298a0b9..655b7a2af 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -38,15 +38,15 @@ class ComposerAutoloaderInit7b34d7e50a62201ec5d5e526a5b8b35d
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit7b34d7e50a62201ec5d5e526a5b8b35d::$files;
- $requireFile = static function ($fileIdentifier, $file) {
+ $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
- };
+ }, null, null);
foreach ($filesToLoad as $fileIdentifier => $file) {
- ($requireFile)($fileIdentifier, $file);
+ $requireFile($fileIdentifier, $file);
}
return $loader;