Add comment

main
Jordi Boggiano 10 years ago
parent 4ebc5c9a08
commit 6f80b26c32

@ -177,6 +177,8 @@ class Locker
{ {
$lockData = $this->getLockData(); $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; return isset($lockData['prefer-stable']) ? $lockData['prefer-stable'] : null;
} }

Loading…
Cancel
Save