From: Hypolite Petovan Date: Mon, 22 Oct 2018 12:45:41 +0000 (-0400) Subject: Add static keyword for Core\L10n properties X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3fe25383c5cee6a6c73793b5a2c0b37e5ab2936;p=friendica.git Add static keyword for Core\L10n properties --- diff --git a/src/Core/L10n.php b/src/Core/L10n.php index 05f710cd76..45b70e0625 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -23,26 +23,26 @@ class L10n extends BaseObject * - Two-letter ISO 639-1 code + dash + Two-letter ISO 3166-1 alpha-2 country code. * @var string */ - private $lang = ''; + private static $lang = ''; /** * A language code saved for later after pushLang() has been called. * * @var string */ - private $langSave = ''; + private static $langSave = ''; /** * An array of translation strings whose key is the neutral english message. * * @var array */ - private $strings = []; + private static $strings = []; /** * An array of translation strings saved for later after pushLang() has been called. * * @var array */ - private $stringsSave = []; + private static $stringsSave = []; /** * Detects the language and sets the translation table