Thiemo Kreuz (WMDE) has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/403145 )
Change subject: Fix type hint in ApiErrorFormatter::addMessagesFromStatus
......................................................................
Fix type hint in ApiErrorFormatter::addMessagesFromStatus
Change-Id: Ia7b628e9f6a7f8c8d803732504621c13976bf618
---
M includes/api/ApiErrorFormatter.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/45/403145/1
diff --git a/includes/api/ApiErrorFormatter.php
b/includes/api/ApiErrorFormatter.php
index 1749ce7..c637752 100644
--- a/includes/api/ApiErrorFormatter.php
+++ b/includes/api/ApiErrorFormatter.php
@@ -112,7 +112,7 @@
* Add warnings and errors from a StatusValue object to the result
* @param string|null $modulePath
* @param StatusValue $status
- * @param string[] $types 'warning' and/or 'error'
+ * @param string[]|string $types 'warning' and/or 'error'
*/
public function addMessagesFromStatus(
$modulePath, StatusValue $status, $types = [ 'warning', 'error'
]
--
To view, visit https://gerrit.wikimedia.org/r/403145
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7b628e9f6a7f8c8d803732504621c13976bf618
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Thiemo Kreuz (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits