From: Sam Reed Date: Wed, 20 Jul 2011 11:46:27 +0000 (+0000) Subject: Remove @return void documentation X-Git-Tag: 1.31.0-rc.0~28725 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=e4a6773b7393621800232ec6c72cf4d26ba94c0d;p=lhc%2Fweb%2Fwiklou.git Remove @return void documentation Add missing error to getPossibleErrors --- diff --git a/includes/api/ApiQueryQueryPage.php b/includes/api/ApiQueryQueryPage.php index 5b379d92f2..c881a8ccfd 100644 --- a/includes/api/ApiQueryQueryPage.php +++ b/includes/api/ApiQueryQueryPage.php @@ -73,7 +73,6 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { /** * @param $resultPageSet ApiPageSet - * @return void */ public function run( $resultPageSet = null ) { global $wgUser; @@ -178,6 +177,7 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { public function getPossibleErrors() { return array_merge( parent::getPossibleErrors(), array( + array( 'specialpage-cantexecute' ) ) ); }