From: Thiemo Mättig Date: Tue, 9 Jan 2018 13:01:17 +0000 (+0100) Subject: Fix type hint in ApiErrorFormatter::addMessagesFromStatus X-Git-Tag: 1.31.0-rc.0~959^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=e9fd4a05483ed1c87ace8c1217437c2ab6f19773;p=lhc%2Fweb%2Fwiklou.git Fix type hint in ApiErrorFormatter::addMessagesFromStatus Change-Id: Ia7b628e9f6a7f8c8d803732504621c13976bf618 --- diff --git a/includes/api/ApiErrorFormatter.php b/includes/api/ApiErrorFormatter.php index 1749ce7f68..c637752dfb 100644 --- a/includes/api/ApiErrorFormatter.php +++ b/includes/api/ApiErrorFormatter.php @@ -112,7 +112,7 @@ class ApiErrorFormatter { * Add warnings and errors from a StatusValue object to the result * @param string|null $modulePath * @param StatusValue $status - * @param string[] $types 'warning' and/or 'error' + * @param string[]|string $types 'warning' and/or 'error' */ public function addMessagesFromStatus( $modulePath, StatusValue $status, $types = [ 'warning', 'error' ]