Skip to content

Commit 888ffd7

Browse files
committed
Fix QA
1 parent c84c73c commit 888ffd7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<issueHandlers>
2525
<MixedAssignment errorLevel="suppress" />
26+
<MissingClassConstType errorLevel="suppress" />
2627
<UnresolvableInclude errorLevel="suppress" />
2728
</issueHandlers>
2829
</psalm>

src/Utils/InstalledPackages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private function parse(): array
9696
$locker = $this->composer->getLocker();
9797
$key = spl_object_hash($locker);
9898

99-
if (!empty(self::$cache[$key])) {
99+
if (isset(self::$cache[$key])) {
100100
/** @var array<string, array|InstalledArrayRepository> $cache */
101101
$cache = self::$cache[$key];
102102

0 commit comments

Comments
 (0)