X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiErrorFormatter.php;h=9dfd3705a5541418ce766a03bfa06b56d7689119;hb=e900893531e76fb8f80c1c9b5be459fd02862c3c;hp=81ee9b9932020442f0ee0304ffa15af18ed7ad7d;hpb=9bbb26ffbd16edbaccce27461730fa9e172aa048;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiErrorFormatter.php b/includes/api/ApiErrorFormatter.php index 81ee9b9932..9dfd3705a5 100644 --- a/includes/api/ApiErrorFormatter.php +++ b/includes/api/ApiErrorFormatter.php @@ -237,6 +237,7 @@ class ApiErrorFormatter { */ public function formatException( $exception, array $options = [] ) { return $this->formatMessage( + // @phan-suppress-next-line PhanTypeMismatchArgument $this->getMessageFromException( $exception, $options ), $options['format'] ?? null );