diff options
Diffstat (limited to 'MLEB/Translate/stringmangler/StringMangler.php')
-rw-r--r-- | MLEB/Translate/stringmangler/StringMangler.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MLEB/Translate/stringmangler/StringMangler.php b/MLEB/Translate/stringmangler/StringMangler.php index 9215f6f2..6e0e1575 100644 --- a/MLEB/Translate/stringmangler/StringMangler.php +++ b/MLEB/Translate/stringmangler/StringMangler.php @@ -3,7 +3,7 @@ * StringMangler interface. * @file * @author Niklas Laxström - * @license GPL-2.0+ + * @license GPL-2.0-or-later */ /** @@ -13,8 +13,7 @@ * with multiple message groups. * * The operations have to be reversible so that - * x equals unMangle( mangle( x ) ). - * + * x equals unmangle( mangle( x ) ). */ interface StringMangler { /// @todo Does this really need to be in the interface??? @@ -30,7 +29,7 @@ interface StringMangler { * Match strings against a pattern. * If string matches, mangle() should mangle the key. * @param string $string Message key. - * @return \bool + * @return bool */ public function match( $string ); @@ -46,5 +45,5 @@ interface StringMangler { * @param string|string[] $data Mangled message keys. * @return string|string[] Umangled message keys. */ - public function unMangle( $data ); + public function unmangle( $data ); } |