From 121f9d2d250d6c0bd2a02b91378b4504acdc5b3c Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 3 Jan 2012 15:36:46 +0000 Subject: [PATCH] Fixup some returns/return documentation --- includes/filerepo/FileRepo.php | 4 +--- includes/specials/SpecialBlock.php | 2 +- includes/upload/UploadFromChunks.php | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) 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:" . -- 2.20.1