- $this->clientError(
- // TRANS: Client error displayed when trying to handle an unknown API method.
- _('API method not found.'),
- 404,
- $this->format
- );
- break;
+ // TRANS: Client error displayed when trying to handle an unknown API method.
+ $this->clientError(_('API method not found.'), 404);