Skip to content

Commit e2b244b

Browse files
committed
fix
1 parent 730a7ce commit e2b244b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/Integration/ModulesIntegration.php‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ private static function getInstalledPackages(): array
6969

7070
if (class_exists(Versions::class)) {
7171
// BC layer for Composer 1, using a transient dependency
72-
return array_keys(Versions::VERSIONS);
72+
/** @var string[] $packages */
73+
$packages = array_keys(Versions::VERSIONS);
74+
75+
return $packages;
7376
}
7477

7578
// this should not happen

0 commit comments

Comments
 (0)