diff options
author | rdalverny <rdalverny@gmail.com> | 2022-01-22 19:53:01 +0100 |
---|---|---|
committer | rdalverny <rdalverny@gmail.com> | 2022-01-22 19:53:01 +0100 |
commit | 5a0c2d333ff41ec4da6a4d58bc1553beeee1affa (patch) | |
tree | a6f2f62d76535a2e47085173c560be77b0214e15 /app/classes/Simplel10n.php | |
parent | c27c9d1d359828a071159995689c9c3b28d99891 (diff) | |
download | planet-5a0c2d333ff41ec4da6a4d58bc1553beeee1affa.tar planet-5a0c2d333ff41ec4da6a4d58bc1553beeee1affa.tar.gz planet-5a0c2d333ff41ec4da6a4d58bc1553beeee1affa.tar.bz2 planet-5a0c2d333ff41ec4da6a4d58bc1553beeee1affa.tar.xz planet-5a0c2d333ff41ec4da6a4d58bc1553beeee1affa.zip |
More type hints
Diffstat (limited to 'app/classes/Simplel10n.php')
-rwxr-xr-x | app/classes/Simplel10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/classes/Simplel10n.php b/app/classes/Simplel10n.php index f84ef5c..a8660f0 100755 --- a/app/classes/Simplel10n.php +++ b/app/classes/Simplel10n.php @@ -20,7 +20,7 @@ class Simplel10n $this->l10nFolder = $path; } - public static function getString($str, $comment = '') + public static function getString(string $str, string $comment = '') { if (array_key_exists($str, $GLOBALS['locale'])) { return trim(str_replace('{ok}', '', $GLOBALS['locale'][$str])); |