From: Sam Reed Date: Tue, 3 Jan 2012 15:36:46 +0000 (+0000) Subject: Fixup some returns/return documentation X-Git-Tag: 1.31.0-rc.0~25592 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=121f9d2d250d6c0bd2a02b91378b4504acdc5b3c;p=lhc%2Fweb%2Fwiklou.git Fixup some returns/return documentation --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 75c4882ef3..c3a91b5930 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -1223,10 +1223,9 @@ class FileRepo { * May use either the database or the filesystem. * * @param $callback Array|string - * @return void */ public function enumFiles( $callback ) { - return $this->enumFilesInStorage( $callback ); + $this->enumFilesInStorage( $callback ); } /** @@ -1234,7 +1233,6 @@ class FileRepo { * May use either the database or the filesystem. * * @param $callback Array|string - * @return void */ protected function enumFilesInStorage( $callback ) { $publicRoot = $this->getZonePath( 'public' ); diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index dc90cdd258..7d93cc75d2 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -334,7 +334,7 @@ class SpecialBlock extends FormSpecialPage { /** * Add footer elements to the form - * @return void + * @return string */ protected function postText(){ # Link to the user's contributions, if applicable diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index 67f020f3b1..f047b149fa 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -82,7 +82,7 @@ class UploadFromChunks extends UploadFromFile { /** * Append the final chunk and ready file for parent::performUpload() - * @return void + * @return FileRepoStatus */ public function concatenateChunks() { wfDebug( __METHOD__ . " concatenate {$this->mChunkIndex} chunks:" .