* fixed typo and added docblock template for const block

This commit is contained in:
Danyi Dávid 2016-08-15 22:13:35 +02:00
parent 773769d7d6
commit 94d05cf890

View File

@ -5,16 +5,20 @@ namespace App\Model;
class Language
{
const LANG_ENGLICH = 'eng';
/**#@+
* @var string
*/
const LANG_ENGLISH = 'eng';
const LANG_GERMAN = 'fra';
const LANG_FRENCH = 'ger';
const LANG_SWEDISH = 'sve';
/**#@-*/
/**
* @var string[]
*/
private static $languages = [
self::LANG_ENGLICH => 'english',
self::LANG_ENGLISH => 'english',
self::LANG_GERMAN => 'german',
self::LANG_FRENCH => 'french',
self::LANG_SWEDISH => 'swedish',