* fixed typo and added docblock template for const block
This commit is contained in:
parent
773769d7d6
commit
94d05cf890
@ -5,16 +5,20 @@ namespace App\Model;
|
|||||||
class Language
|
class Language
|
||||||
{
|
{
|
||||||
|
|
||||||
const LANG_ENGLICH = 'eng';
|
/**#@+
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
const LANG_ENGLISH = 'eng';
|
||||||
const LANG_GERMAN = 'fra';
|
const LANG_GERMAN = 'fra';
|
||||||
const LANG_FRENCH = 'ger';
|
const LANG_FRENCH = 'ger';
|
||||||
const LANG_SWEDISH = 'sve';
|
const LANG_SWEDISH = 'sve';
|
||||||
|
/**#@-*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
private static $languages = [
|
private static $languages = [
|
||||||
self::LANG_ENGLICH => 'english',
|
self::LANG_ENGLISH => 'english',
|
||||||
self::LANG_GERMAN => 'german',
|
self::LANG_GERMAN => 'german',
|
||||||
self::LANG_FRENCH => 'french',
|
self::LANG_FRENCH => 'french',
|
||||||
self::LANG_SWEDISH => 'swedish',
|
self::LANG_SWEDISH => 'swedish',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user