* Adjust code style

This commit is contained in:
zenggang
2021-12-02 01:07:37 +00:00
parent bcb6dbbe0a
commit c79e9ef65f
+8 -2
View File
@@ -546,8 +546,14 @@ class gitlab
$committedDate = $this->getCommittedDate($version);
if(!$committedDate) return array('commits' => array(), 'files' => array());
if($since) $params['since'] = $committedDate;
else $params['until'] = $committedDate;
if(!empty($since))
{
$params['since'] = $committedDate;
}
else
{
$params['until'] = $committedDate;
}
}
$list = $this->fetch($api, $params);