From fde5d66e3cf58d12bf998e50926aa150f9aa3b7c Mon Sep 17 00:00:00 2001 From: dingguodong Date: Fri, 3 Sep 2021 14:54:35 +0800 Subject: [PATCH] * Adjust function comment. --- module/mr/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/mr/model.php b/module/mr/model.php index 43aa536fb1..a0edbaa0c6 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -461,12 +461,12 @@ class mrModel extends model } /** - * Get sudo user ID in GitLab. + * Get sudo user ID in both GitLab and Project. * Note: sudo parameter in GitLab API can be user ID or username. * @param int $gitlabID * @param int $projectID * @access public - * @return void + * @return int|string */ public function getSudoUsername($gitlabID, $projectID) {