From: Umherirrender Date: Sat, 29 Jun 2019 21:43:52 +0000 (+0200) Subject: Fix param doc of ChangeTagsList::updateChangeTagsOnAll X-Git-Tag: 1.34.0-rc.0~767^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=2dcf8736bd520fb4e658d123ddbc6845262331b5;p=lhc%2Fweb%2Fwiklou.git Fix param doc of ChangeTagsList::updateChangeTagsOnAll $params is passed to ChangeTags::updateTagsWithChecks which defines $params as string|null, because it goes to change_tag.ct_params Change-Id: I6df1a2b826a3c1dfcf6c1bbd012895c84878aab5 --- diff --git a/includes/changetags/ChangeTagsList.php b/includes/changetags/ChangeTagsList.php index 1559e1d6f7..89f8f76350 100644 --- a/includes/changetags/ChangeTagsList.php +++ b/includes/changetags/ChangeTagsList.php @@ -68,7 +68,7 @@ abstract class ChangeTagsList extends RevisionListBase { * * @param array $tagsToAdd * @param array $tagsToRemove - * @param array $params + * @param string|null $params * @param string $reason * @param User $user * @return Status diff --git a/includes/changetags/ChangeTagsRevisionList.php b/includes/changetags/ChangeTagsRevisionList.php index 2aad2db43a..dfa78e6334 100644 --- a/includes/changetags/ChangeTagsRevisionList.php +++ b/includes/changetags/ChangeTagsRevisionList.php @@ -74,7 +74,7 @@ class ChangeTagsRevisionList extends ChangeTagsList { * * @param array $tagsToAdd * @param array $tagsToRemove - * @param array $params + * @param string|null $params * @param string $reason * @param User $user * @return Status