Skip to content

Commit

Permalink
Fixed error when module doesn't have tags yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed Mar 6, 2023
1 parent 2d66cef commit 68e1b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/ComponentList/Loader/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function getComponentsInfo()
$carry = $item;
}
return $carry;
}, 0);
}, $versions[0] ?? 0);
if (!empty($info[$latestVersion]['type']) &&
$info[$latestVersion]['type'] === 'metapackage') {

Expand Down

0 comments on commit 68e1b34

Please sign in to comment.