From 94d05cf89042387571b13af5e3b2a38e0c1d6dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Mon, 15 Aug 2016 22:13:35 +0200 Subject: [PATCH] * fixed typo and added docblock template for const block --- src/App/Model/Language.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/App/Model/Language.php b/src/App/Model/Language.php index b5c3d46..2fac2ce 100644 --- a/src/App/Model/Language.php +++ b/src/App/Model/Language.php @@ -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',