Add comment
parent
4ebc5c9a08
commit
6f80b26c32
|
@ -177,6 +177,8 @@ class Locker
|
|||
{
|
||||
$lockData = $this->getLockData();
|
||||
|
||||
// return null if not set to allow caller logic to choose the
|
||||
// right behavior since old lock files have no prefer-stable
|
||||
return isset($lockData['prefer-stable']) ? $lockData['prefer-stable'] : null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue