Skip to content

Commit 991a6a2

Browse files
update ManifestManager.php
1 parent 93cfce1 commit 991a6a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ManifestManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ protected function map(array $packages): array
8686
$manifest = [];
8787

8888
$packages = array_filter($packages, function ($package) {
89-
return $package['type'] === self::PACKAGE_TYPE;
89+
if(isset($package['type'])){
90+
return $package['type'] === self::PACKAGE_TYPE;
91+
}
9092
});
9193

9294
foreach ($packages as $package) {

0 commit comments

Comments
 (0)