No need to ignore phpstan error now that getRegisteredLoaders is in a release
parent
1a0e578b14
commit
cee34b06b4
|
@ -244,7 +244,6 @@ class InstalledVersions
|
||||||
$installed = array();
|
$installed = array();
|
||||||
|
|
||||||
if (self::$canGetVendors) {
|
if (self::$canGetVendors) {
|
||||||
// @phpstan-ignore-next-line
|
|
||||||
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
|
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
|
||||||
if (isset(self::$installedByVendor[$vendorDir])) {
|
if (isset(self::$installedByVendor[$vendorDir])) {
|
||||||
$installed[] = self::$installedByVendor[$vendorDir];
|
$installed[] = self::$installedByVendor[$vendorDir];
|
||||||
|
|
Loading…
Reference in New Issue