From: addshore Date: Wed, 3 Aug 2016 17:42:54 +0000 (+0100) Subject: phpdoc File::makeTransformTmpFile can return null X-Git-Tag: 1.31.0-rc.0~6177^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=95dbcfa8436b26add09593353155ec46fdd49b0d;p=lhc%2Fweb%2Fwiklou.git phpdoc File::makeTransformTmpFile can return null Change-Id: Ibeefb87919dfa2e5f850570942cbeab01e84e8a7 --- 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 );