X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiClearHasMsg.php;h=4ddbd040ca87dac8fe89784460c0f40107b8ef9c;hb=6bcdf27c748d70369ff301a5f586fd6a9e2f09a7;hp=8667a67774c0aac386ca6bbd2865f68f79df5edd;hpb=201928033d59d5f5bccadac48bc4a10c27a0384a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiClearHasMsg.php b/includes/api/ApiClearHasMsg.php index 8667a67774..4ddbd040ca 100644 --- a/includes/api/ApiClearHasMsg.php +++ b/includes/api/ApiClearHasMsg.php @@ -42,11 +42,11 @@ class ApiClearHasMsg extends ApiBase { return false; } - public function getExamplesMessages() { - return array( + protected function getExamplesMessages() { + return [ 'action=clearhasmsg' => 'apihelp-clearhasmsg-example-1', - ); + ]; } public function getHelpUrls() {