Fix return type of ApiVisualEditorEdit::saveWikitext

Change-Id: I523d8097b39d80fc7082c64009b49b36f8a296a7
This commit is contained in:
Umherirrender 2019-03-01 23:49:26 +01:00
parent b704f73418
commit 8c1eda388e

View file

@ -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 = [