From 99a8df3370b3c911d31d868e83028426365d9713 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 29 Sep 2010 18:18:07 +0000 Subject: [PATCH] Document return values I needed --- includes/api/ApiMain.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 4d8d67124c..bd3db4097a 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -188,6 +188,8 @@ class ApiMain extends ApiBase { /** * Get the ApiResult object associated with current request + * + * @return ApiResult */ public function getResult() { return $this->mResult; @@ -202,6 +204,8 @@ class ApiMain extends ApiBase { /** * Get the result formatter object. Only works after setupExecuteAction() + * + * @return ApiFormatBase */ public function getPrinter() { return $this->mPrinter; -- 2.20.1