X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiErrorFormatter.php;h=c637752dfb01ce9f286343f3bc07d4983c78dd1a;hb=362a962c8db517f435843af45f0747ead6878252;hp=1749ce7f68c2db5b5ab75dd0789ca942cc20adf3;hpb=255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b;p=lhc%2Fweb%2Fwiklou.git 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' ]