* Modify code download.

This commit is contained in:
caoyanyi
2022-08-04 14:25:16 +08:00
parent d47bbffefa
commit 85f8b08428
9 changed files with 122 additions and 50 deletions
+2 -1
View File
@@ -840,11 +840,12 @@ class gitlab
* Get download url.
*
* @param string $branch
* @param string $savePath
* @param string $ext
* @access public
* @return string
*/
public function getDownloadUrl($branch = 'master', $ext = 'zip')
public function getDownloadUrl($branch = 'master', $savePath = '', $ext = 'zip')
{
$params = (array) $params;
$params['private_token'] = $this->token;