Add static keyword for Core\L10n properties

This commit is contained in:
Hypolite Petovan 2018-10-22 08:45:41 -04:00 committed by Benjamin Lorteau
parent c6f0bea51d
commit e3fe25383c
1 changed files with 4 additions and 4 deletions

View File

@ -23,26 +23,26 @@ class L10n extends BaseObject
* - Two-letter ISO 639-1 code + dash + Two-letter ISO 3166-1 alpha-2 country code. * - Two-letter ISO 639-1 code + dash + Two-letter ISO 3166-1 alpha-2 country code.
* @var string * @var string
*/ */
private $lang = ''; private static $lang = '';
/** /**
* A language code saved for later after pushLang() has been called. * A language code saved for later after pushLang() has been called.
* *
* @var string * @var string
*/ */
private $langSave = ''; private static $langSave = '';
/** /**
* An array of translation strings whose key is the neutral english message. * An array of translation strings whose key is the neutral english message.
* *
* @var array * @var array
*/ */
private $strings = []; private static $strings = [];
/** /**
* An array of translation strings saved for later after pushLang() has been called. * An array of translation strings saved for later after pushLang() has been called.
* *
* @var array * @var array
*/ */
private $stringsSave = []; private static $stringsSave = [];
/** /**
* Detects the language and sets the translation table * Detects the language and sets the translation table