Reverted r108743 per CR comment. This should at least be discussed first.
[lhc/web/wiklou.git] / includes / filerepo / FileRepo.php
index 1a51020..cd9b2bb 100644 (file)
@@ -126,6 +126,7 @@ class FileRepo {
         * directories, in case the user has not configured offline storage
         *
         * @param $dir string
+        * @return void
         */
        protected function initDeletedDir( $dir ) {
                $this->backend->secure( // prevent web access & dir listings
@@ -717,7 +718,8 @@ class FileRepo {
         * Each file can be a (zone, rel) pair, virtual url, storage path, or FS path.
         * It will try to delete each file, but ignores any errors that may occur.
         *
-        * @param $files array List of files to delete
+        * @param $pairs array List of files to delete
+        * @return void
         */
        public function cleanupBatch( $files ) {
                $operations = array();
@@ -1215,6 +1217,7 @@ class FileRepo {
         * May use either the database or the filesystem.
         *
         * @param $callback Array|string
+        * @return void
         */
        public function enumFiles( $callback ) {
                $this->enumFilesInStorage( $callback );
@@ -1225,6 +1228,7 @@ class FileRepo {
         * May use either the database or the filesystem.
         *
         * @param $callback Array|string
+        * @return void
         */
        protected function enumFilesInStorage( $callback ) {
                $publicRoot = $this->getZonePath( 'public' );