phpdoc File::transform can return ThumbnailImage
authoraddshore <addshorewiki@gmail.com>
Mon, 1 Aug 2016 21:18:24 +0000 (22:18 +0100)
committeraddshore <addshorewiki@gmail.com>
Mon, 1 Aug 2016 21:18:24 +0000 (22:18 +0100)
Change-Id: I463176d06c8d519a52c5713eacd44bff87e72f56

includes/filerepo/file/File.php

index 8175b58..bbf64f6 100644 (file)
@@ -1028,7 +1028,7 @@ abstract class File implements IDBAccessObject {
         * @param array $params An associative array of handler-specific parameters.
         *   Typical keys are width, height and page.
         * @param int $flags A bitfield, may contain self::RENDER_NOW to force rendering
-        * @return MediaTransformOutput|bool False on failure
+        * @return ThumbnailImage|MediaTransformOutput|bool False on failure
         */
        function transform( $params, $flags = 0 ) {
                global $wgThumbnailEpoch;