X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsLogList.php;h=bf455af817a7135cff90dd09325eae59790fac8f;hb=7b69a2b340c643ec28138c29e60d4632fafc7939;hp=e6d918a63c78b1a4a1ea01c757e154758993dc9c;hpb=89539f2aa1b158fdcc703ad053e2580cb97a6385;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changetags/ChangeTagsLogList.php b/includes/changetags/ChangeTagsLogList.php index e6d918a63c..bf455af817 100644 --- a/includes/changetags/ChangeTagsLogList.php +++ b/includes/changetags/ChangeTagsLogList.php @@ -66,15 +66,13 @@ class ChangeTagsLogList extends ChangeTagsList { * * @param array $tagsToAdd * @param array $tagsToRemove - * @param array $params + * @param string|null $params * @param string $reason * @param User $user * @return Status */ public function updateChangeTagsOnAll( $tagsToAdd, $tagsToRemove, $params, $reason, $user ) { - // @codingStandardsIgnoreStart Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed for ( $this->reset(); $this->current(); $this->next() ) { - // @codingStandardsIgnoreEnd $item = $this->current(); $status = ChangeTags::updateTagsWithChecks( $tagsToAdd, $tagsToRemove, null, null, $item->getId(), $params, $reason, $user );