Fix documentation of pkgreq_*() return types

Reported-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-07-01 19:47:21 +02:00
parent cf4ea0171e
commit 707b1bb878

View file

@ -35,7 +35,7 @@ function pkgreq_list() {
* @param string $merge_into The target of a merge operation * @param string $merge_into The target of a merge operation
* @param string $comments The comments to be added to the request * @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) { function pkgreq_file($ids, $type, $merge_into, $comments) {
global $AUR_LOCATION; 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 * @global string $AUR_REQUEST_ML The request notification mailing list
* @param int $id The package request to close * @param int $id The package request to close
* *
* @return void * @return array Tuple of success/failure indicator and error message
*/ */
function pkgreq_close($id) { function pkgreq_close($id) {
global $AUR_LOCATION; global $AUR_LOCATION;