aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiBase.php')
-rw-r--r--includes/api/ApiBase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index c001ef4aed42..ce6e43b9ce43 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -1444,7 +1444,7 @@ abstract class ApiBase extends ContextSource {
* message key by stripping any "apiwarn-" or "apierror-" prefix.
*
* @since 1.29
- * @param string|array|Message $msg See ApiErrorFormatter::addWarning()
+ * @param string|array|MessageSpecifier $msg See ApiErrorFormatter::addWarning()
* @param string|null $code See ApiErrorFormatter::addWarning()
* @param array|null $data See ApiErrorFormatter::addWarning()
*/
@@ -1458,7 +1458,7 @@ abstract class ApiBase extends ContextSource {
* A combination of $this->addWarning() and $this->logFeatureUsage()
*
* @since 1.29
- * @param string|array|Message $msg See ApiErrorFormatter::addWarning()
+ * @param string|array|MessageSpecifier $msg See ApiErrorFormatter::addWarning()
* @param string|null $feature See ApiBase::logFeatureUsage()
* @param array|null $data See ApiErrorFormatter::addWarning()
*/