@@ -77,8 +77,8 @@ |
||
77 | 77 | * @param OutputInterface $output |
78 | 78 | * @param $template |
79 | 79 | * @param $answerId |
80 | - * @param $originalTest |
|
81 | - * @return bool|string |
|
80 | + * @param string $originalTest |
|
81 | + * @return false|string |
|
82 | 82 | * @throws Exception |
83 | 83 | */ |
84 | 84 | private function handleQuestion(OutputInterface $output, string $template, string $answerId, $originalTest) |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | |
15 | 15 | const DOMAIN = 'messages'; |
16 | - const LANG_DIR = ROOT . '/cache/lang/'; |
|
16 | + const LANG_DIR = ROOT.'/cache/lang/'; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @var string[] |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function getTokens() |
63 | 63 | { |
64 | - return array_map(function (string $locale) { |
|
65 | - return 'locale.' . $locale; |
|
64 | + return array_map(function(string $locale) { |
|
65 | + return 'locale.'.$locale; |
|
66 | 66 | }, $this->locales); |
67 | 67 | } |
68 | 68 | } |