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.
1 parent c84c73c commit 888ffd7Copy full SHA for 888ffd7
psalm.xml
@@ -23,6 +23,7 @@
23
24
<issueHandlers>
25
<MixedAssignment errorLevel="suppress" />
26
+ <MissingClassConstType errorLevel="suppress" />
27
<UnresolvableInclude errorLevel="suppress" />
28
</issueHandlers>
29
</psalm>
src/Utils/InstalledPackages.php
@@ -96,7 +96,7 @@ private function parse(): array
96
$locker = $this->composer->getLocker();
97
$key = spl_object_hash($locker);
98
99
- if (!empty(self::$cache[$key])) {
+ if (isset(self::$cache[$key])) {
100
/** @var array<string, array|InstalledArrayRepository> $cache */
101
$cache = self::$cache[$key];
102
0 commit comments