diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-01 19:47:21 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-01 19:47:21 +0200 |
commit | 707b1bb8788a272f0365baf99d9ef539655939a8 (patch) | |
tree | 25fe52664f08c3225fd051838fedcca70ab461c5 /web/lib | |
parent | cf4ea0171e588fdc9d44beb705e379a20ecbd652 (diff) | |
download | aur-707b1bb8788a272f0365baf99d9ef539655939a8.tar.gz aur-707b1bb8788a272f0365baf99d9ef539655939a8.tar.xz |
Fix documentation of pkgreq_*() return types
Reported-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgreqfuncs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgreqfuncs.inc.php b/web/lib/pkgreqfuncs.inc.php index 47758c3e..69ba08d4 100644 --- a/web/lib/pkgreqfuncs.inc.php +++ b/web/lib/pkgreqfuncs.inc.php @@ -35,7 +35,7 @@ function pkgreq_list() { * @param string $merge_into The target of a merge operation * @param string $comments The comments to be added to the request * - * @return void + * @return array Tuple of success/failure indicator and error message */ function pkgreq_file($ids, $type, $merge_into, $comments) { global $AUR_LOCATION; @@ -127,7 +127,7 @@ function pkgreq_file($ids, $type, $merge_into, $comments) { * @global string $AUR_REQUEST_ML The request notification mailing list * @param int $id The package request to close * - * @return void + * @return array Tuple of success/failure indicator and error message */ function pkgreq_close($id) { global $AUR_LOCATION; |