From: Sam Reed Date: Sun, 3 Oct 2010 22:13:04 +0000 (+0000) Subject: Object return type hints X-Git-Tag: 1.31.0-rc.0~34633 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=3629f272c403ed3addd067a5143a5be84b18150a;p=lhc%2Fweb%2Fwiklou.git Object return type hints --- 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;