From 8c1eda388e233d38cd2268bae437be0ad1996f51 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 1 Mar 2019 23:49:26 +0100 Subject: [PATCH] Fix return type of ApiVisualEditorEdit::saveWikitext Change-Id: I523d8097b39d80fc7082c64009b49b36f8a296a7 --- includes/ApiVisualEditorEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ApiVisualEditorEdit.php b/includes/ApiVisualEditorEdit.php index ebfd0c29fd..3369730800 100644 --- a/includes/ApiVisualEditorEdit.php +++ b/includes/ApiVisualEditorEdit.php @@ -26,7 +26,7 @@ class ApiVisualEditorEdit extends ApiVisualEditor { * @param Title $title The title of the page to write * @param string $wikitext The wikitext to write * @param array $params The edit parameters - * @return Status The result of the save attempt + * @return mixed The result of the save attempt */ protected function saveWikitext( Title $title, $wikitext, $params ) { $apiParams = [