From 3629f272c403ed3addd067a5143a5be84b18150a Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 3 Oct 2010 22:13:04 +0000 Subject: [PATCH] Object return type hints --- includes/api/ApiMain.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index bd3db4097a..801ae4c3f2 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -132,7 +132,7 @@ class ApiMain extends ApiBase { /** * Constructs an instance of ApiMain that utilizes the module and format specified by $request. * - * @param $request object - if this is an instance of FauxRequest, errors are thrown and no printing occurs + * @param $request WebRequest - if this is an instance of FauxRequest, errors are thrown and no printing occurs * @param $enableWrite bool should be set to true if the api may modify data */ public function __construct( $request, $enableWrite = false ) { @@ -181,6 +181,7 @@ class ApiMain extends ApiBase { /** * Return the request object that contains client's request + * @return WebRequest */ public function getRequest() { return $this->mRequest; -- 2.20.1