summaryrefslogtreecommitdiffstats
path: root/app/classes/Simplel10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/classes/Simplel10n.php')
-rwxr-xr-xapp/classes/Simplel10n.php2
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]));