Fix Phan error related to message parameters

Caused by type hints added in MediaWiki core in
I3e0df790ff9db2fa630f82408a7254a359fe61ca.

Change-Id: Ica40a9db2f9fde7c989fbdb1680b526c144dd73c
This commit is contained in:
Bartosz Dziewoński 2024-11-15 00:24:17 +01:00
parent 5c5d64fcb9
commit e5ec6ee907

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 ) {