Fixup some returns/return documentation
authorSam Reed <reedy@users.mediawiki.org>
Tue, 3 Jan 2012 15:36:46 +0000 (15:36 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 3 Jan 2012 15:36:46 +0000 (15:36 +0000)
includes/filerepo/FileRepo.php
includes/specials/SpecialBlock.php
includes/upload/UploadFromChunks.php

index 75c4882..c3a91b5 100644 (file)
@@ -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' );
index dc90cdd..7d93cc7 100644 (file)
@@ -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
index 67f020f..f047b14 100644 (file)
@@ -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:" .