summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/src/Utilities/SmartFormatPlural.php')
-rw-r--r--MLEB/Translate/src/Utilities/SmartFormatPlural.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/MLEB/Translate/src/Utilities/SmartFormatPlural.php b/MLEB/Translate/src/Utilities/SmartFormatPlural.php
index 3ba8c350..49936444 100644
--- a/MLEB/Translate/src/Utilities/SmartFormatPlural.php
+++ b/MLEB/Translate/src/Utilities/SmartFormatPlural.php
@@ -4,7 +4,7 @@
* @license GPL-2.0-or-later
*/
-namespace MediaWiki\Extensions\Translate\Utilities;
+namespace MediaWiki\Extension\Translate\Utilities;
/**
* Implements partial support for SmartFormat plural syntax parsing.
@@ -38,7 +38,7 @@ class SmartFormatPlural {
* @param string $text
* @return array
*/
- public static function getPluralInstances( string $text ) : array {
+ public static function getPluralInstances( string $text ): array {
// ldns = Large Deeply-Nested Structure
$ldns = [];
@@ -62,3 +62,5 @@ class SmartFormatPlural {
return $ldns;
}
}
+
+class_alias( SmartFormatPlural::class, '\MediaWiki\Extensions\Translate\SmartFormatPlural' );