We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fff576a + 192176a commit b174585Copy full SHA for b174585
src/PackageVersions/Installer.php
@@ -127,7 +127,7 @@ private static function composer2ApiUsable(): bool
127
}
128
} else {
129
$rawData = InstalledVersions::getRawData();
130
- if ($rawData === []) {
+ if ($rawData === null || $rawData === []) {
131
return false;
132
133
src/PackageVersions/Versions.php
@@ -82,7 +82,7 @@ private static function composer2ApiUsable(): bool
82
83
84
85
86
87
88
0 commit comments