}
/**
- * @returns ApiMessage
+ * @return ApiMessage
*/
private function getApiMessage() {
$errors = $this->status->getErrorsByType( 'error' );
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
- * @inheritdoc
+ * @inheritDoc
*/
public function getCodeString() {
wfDeprecated( __METHOD__, '1.29' );
/**
* @deprecated Do not use. This only exists here because UsageException is in
* the inheritance chain for backwards compatibility.
- * @inheritdoc
+ * @inheritDoc
*/
public function getMessageArray() {
wfDeprecated( __METHOD__, '1.29' );
}
/**
- * @inheritdoc
+ * @inheritDoc
*/
public function getMessageObject() {
- return $this->status->getMessage();
+ return Status::wrap( $this->status )->getMessage();
}
/**