From 95dbcfa8436b26add09593353155ec46fdd49b0d Mon Sep 17 00:00:00 2001 From: addshore Date: Wed, 3 Aug 2016 18:42:54 +0100 Subject: [PATCH] phpdoc File::makeTransformTmpFile can return null Change-Id: Ibeefb87919dfa2e5f850570942cbeab01e84e8a7 --- 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 bbf64f6754..425a08cb04 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -1324,7 +1324,7 @@ abstract class File implements IDBAccessObject { /** * Creates a temp FS file with the same extension and the thumbnail * @param string $thumbPath Thumbnail path - * @return TempFSFile + * @return TempFSFile|null */ protected function makeTransformTmpFile( $thumbPath ) { $thumbExt = FileBackend::extensionFromPath( $thumbPath ); -- 2.20.1