X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFeedWatchlist.php;h=953c4d8d93542f49d327122dd83d25f5e1b2b0a4;hb=70e1b9c450f6e07adc890222bef2599f9150f4af;hp=c4977f4115cd65b4ad543a136e382b22ff553f77;hpb=7621b57d958d0753236221227cbfb519d7faf192;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index c4977f4115..953c4d8d93 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -150,6 +150,7 @@ class ApiFeedWatchlist extends ApiBase { if ( $e instanceof ApiUsageException ) { foreach ( $e->getStatusValue()->getErrors() as $error ) { + // @phan-suppress-next-line PhanUndeclaredMethod $msg = ApiMessage::create( $error ) ->inLanguage( $this->getLanguage() ); $errorTitle = $this->msg( 'api-feed-error-title', $msg->getApiCode() );