mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
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:
parent
5c5d64fcb9
commit
e5ec6ee907
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue