diff --git a/src/Composer/InstalledVersions.php b/src/Composer/InstalledVersions.php index e6909e934..bd5647882 100644 --- a/src/Composer/InstalledVersions.php +++ b/src/Composer/InstalledVersions.php @@ -244,7 +244,6 @@ class InstalledVersions $installed = array(); if (self::$canGetVendors) { - // @phpstan-ignore-next-line foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir];