dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "FauxRequest: don’t override getValues()"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiErrorFormatter.php
diff --git
a/includes/api/ApiErrorFormatter.php
b/includes/api/ApiErrorFormatter.php
index
81ee9b9
..
9dfd370
100644
(file)
--- 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
);