Update documentation
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 25 Nov 2013 13:44:44 +0000 (14:44 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 25 Nov 2013 13:45:32 +0000 (14:45 +0100)
Change-Id: I94af1fbbfeb838f4d300c87f0e42a816ff6c5fee

includes/filerepo/FileRepo.php

index d26191c..8611238 100644 (file)
@@ -260,7 +260,7 @@ class FileRepo {
         *
         * @param string $zone One of: public, deleted, temp, thumb
         * @param string|null $ext Optional file extension
-        * @return String or false
+        * @return string|bool
         */
        public function getZoneUrl( $zone, $ext = null ) {
                if ( in_array( $zone, array( 'public', 'temp', 'thumb', 'transcoded' ) ) ) {
@@ -602,7 +602,7 @@ class FileRepo {
        }
 
        /**
-        * Get the name of an image from its title object
+        * Get the name of a file from its title object
         *
         * @param $title Title
         * @return String