Fix errors in case packages is empty
parent
56e43e4397
commit
9630f44922
|
@ -104,6 +104,7 @@ class Locker
|
|||
{
|
||||
$lock = array(
|
||||
'hash' => $this->hash,
|
||||
'packages' => array(),
|
||||
);
|
||||
foreach ($packages as $package) {
|
||||
$name = $package->getPrettyName();
|
||||
|
|
Loading…
Reference in New Issue