filebackend: fix @throws comment in FileBackend::makeContentDisposition()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 29 Aug 2019 05:32:59 +0000 (22:32 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 29 Aug 2019 05:32:59 +0000 (22:32 -0700)
Change-Id: I653b0c9b28939a0976328ed1de6444dd38b7fa55

includes/libs/filebackend/FileBackend.php

index 4cacb7a..d1655b5 100644 (file)
@@ -1526,7 +1526,7 @@ abstract class FileBackend implements LoggerAwareInterface {
         *
         * @param string $type One of (attachment, inline)
         * @param string $filename Suggested file name (should not contain slashes)
-        * @throws FileBackendError
+        * @throws InvalidArgumentException
         * @return string
         * @since 1.20
         */