From 87f25e6df63979b7a032e3cbcb244721e1a113bb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 18 Oct 2021 23:49:57 +0200 Subject: [PATCH] Specify parseAutoloads more narrowly, refs #10179 --- src/Composer/Autoload/AutoloadGenerator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 8e6bfef8f..482dc0c21 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -533,11 +533,11 @@ EOF; * @param bool|string[] $filteredDevPackages If an array, the list of packages that must be removed. If bool, whether to filter out require-dev packages * @return array * @phpstan-return array{ - * 'psr-0': array|array>|array, - * 'psr-4': array|array>|array, - * 'classmap': array|array>|array, - * 'files': array|array>|array, - * 'exclude-from-classmap': array|array>|array, + * 'psr-0': array>, + * 'psr-4': array>, + * 'classmap': array, + * 'files': array, + * 'exclude-from-classmap': array, * } */ public function parseAutoloads(array $packageMap, PackageInterface $rootPackage, $filteredDevPackages = false)