@@ -23,14 +23,14 @@ |
||
23 | 23 | protected function execute(InputInterface $input, OutputInterface $output) |
24 | 24 | { |
25 | 25 | if (!is_file($input->getOption('config'))) { |
26 | - throw new InvalidArgumentException('File "' . $input->getOption('config') . '" does not exist'); |
|
26 | + throw new InvalidArgumentException('File "'.$input->getOption('config').'" does not exist'); |
|
27 | 27 | } |
28 | 28 | parse_str($input->getOption('params'), $params); |
29 | 29 | extract($params); |
30 | 30 | |
31 | 31 | $translationMaker = require_once $input->getOption('config'); |
32 | 32 | if (!$translationMaker instanceof TranslationMaker) { |
33 | - throw new InvalidConfigInstanceReturnedException('"' . (is_object($translationMaker) ? get_class($translationMaker) : $translationMaker) . '" is not instance of ' . TranslationMaker::class); |
|
33 | + throw new InvalidConfigInstanceReturnedException('"'.(is_object($translationMaker) ? get_class($translationMaker) : $translationMaker).'" is not instance of '.TranslationMaker::class); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | $translationMaker->make(); |