diff options
Diffstat (limited to 'MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php')
-rw-r--r-- | MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php b/MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php index 1d327354..7a8e15a4 100644 --- a/MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php +++ b/MLEB/Translate/src/TranslatorInterface/Insertable/NumericalParameterInsertablesSuggester.php @@ -21,7 +21,7 @@ class NumericalParameterInsertablesSuggester implements InsertablesSuggester { $matches, PREG_SET_ORDER ); - $new = array_map( function ( $match ) { + $new = array_map( static function ( $match ) { return new Insertable( $match[0], $match[0] ); }, $matches ); $insertables = array_merge( $insertables, $new ); @@ -29,8 +29,3 @@ class NumericalParameterInsertablesSuggester implements InsertablesSuggester { return $insertables; } } - -class_alias( - NumericalParameterInsertablesSuggester::class, - '\MediaWiki\Extensions\Translate\NumericalParameterInsertablesSuggester' -); |