From: Umherirrender Date: Tue, 4 Jun 2019 19:28:25 +0000 (+0200) Subject: Fix type to callable on FileRepo::getErrorCleanupFunction X-Git-Tag: 1.34.0-rc.0~1526^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%22id_auteur=%24connect_id_auteur%22%29%20.%20%22?a=commitdiff_plain;h=b0c958003521ab9e22247ba9c589f0bb84de9455;p=lhc%2Fweb%2Fwiklou.git Fix type to callable on FileRepo::getErrorCleanupFunction Change-Id: Idb07fb2d6ade9eb3619ecea5516d7e9815b7bb54 --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 3e11a48d7d..51cef81029 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -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 ) {