From b453dd893c931c3d1319151d314eb9d64d08a349 Mon Sep 17 00:00:00 2001 From: addshore Date: Mon, 1 Aug 2016 22:18:24 +0100 Subject: [PATCH] phpdoc File::transform can return ThumbnailImage Change-Id: I463176d06c8d519a52c5713eacd44bff87e72f56 --- includes/filerepo/file/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index 8175b58cd0..bbf64f6754 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -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; -- 2.20.1