Merge "Fix type to callable on FileRepo::getErrorCleanupFunction"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 5 Jun 2019 08:56:34 +0000 (08:56 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 5 Jun 2019 08:56:34 +0000 (08:56 +0000)
includes/filerepo/FileRepo.php

index 3e11a48..51cef81 100644 (file)
@@ -1689,7 +1689,7 @@ class FileRepo {
        /**
         * Get a callback function to use for cleaning error message parameters
         *
-        * @return string[]
+        * @return callable
         */
        function getErrorCleanupFunction() {
                switch ( $this->pathDisclosureProtection ) {