Browse Source

Merge pull request #8686 from matbech/patch-1

Fix PHP 8 deprecated warnings
Jordi Boggiano 5 years ago
parent
commit
d0d786c0bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Autoload/AutoloadGenerator.php

+ 1 - 1
src/Composer/Autoload/AutoloadGenerator.php

@@ -336,7 +336,7 @@ EOF;
         return 0;
     }
 
-    private function addClassMapCode($filesystem, $basePath, $vendorPath, $dir, $blacklist = null, $namespaceFilter = null, $autoloadType = null, array $classMap, array &$ambiguousClasses)
+    private function addClassMapCode($filesystem, $basePath, $vendorPath, $dir, $blacklist, $namespaceFilter, $autoloadType, array $classMap, array &$ambiguousClasses)
     {
         foreach ($this->generateClassMap($dir, $blacklist, $namespaceFilter, $autoloadType) as $class => $path) {
             $pathCode = $this->getPathCode($filesystem, $basePath, $vendorPath, $path).",\n";