@@ -84,15 +84,15 @@ |
||
84 | 84 | protected function execute(InputInterface $input, OutputInterface $output) |
85 | 85 | { |
86 | 86 | $files = $input->getArgument('file'); |
87 | - $finder = new Finder(); |
|
87 | + $finder = new Finder(); |
|
88 | 88 | $finder = $finder->files(); |
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @param SplFileInfo $file |
92 | 92 | * @return bool |
93 | 93 | */ |
94 | - $filter = function (SplFileInfo $file) { |
|
95 | - if (!in_array($file->getExtension(), ['yml','json']) || $file->isDir()) { |
|
94 | + $filter = function(SplFileInfo $file) { |
|
95 | + if (!in_array($file->getExtension(), ['yml', 'json']) || $file->isDir()) { |
|
96 | 96 | return false; |
97 | 97 | } |
98 | 98 | return true; |