Merge "Fix Phan error related to message parameters"

This commit is contained in:
jenkins-bot 2024-11-15 08:17:50 +00:00 committed by Gerrit Code Review
commit 1ce964ea8e

View file

@ -329,7 +329,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
$oldWarningMessage = $readOnly
? 'abusefilter-edit-oldwarning-view'
: 'abusefilter-edit-oldwarning';
$out->addWikiMsg( $oldWarningMessage, $history_id, $filter );
$out->addWikiMsg( $oldWarningMessage, $history_id, (string)$filter );
}
if ( $error !== null ) {