phpdoc File::makeTransformTmpFile can return null
authoraddshore <addshorewiki@gmail.com>
Wed, 3 Aug 2016 17:42:54 +0000 (18:42 +0100)
committeraddshore <addshorewiki@gmail.com>
Wed, 3 Aug 2016 17:42:54 +0000 (18:42 +0100)
Change-Id: Ibeefb87919dfa2e5f850570942cbeab01e84e8a7

includes/filerepo/file/File.php

index bbf64f6..425a08c 100644 (file)
@@ -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 );