Passed
Pull Request — master (#19)
by Michal
02:04
created
src/TranslationMaker/Command/TranslationMakerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,14 +23,14 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.