@@ -9,8 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace Chapi\Commands; |
11 | 11 | |
12 | -use Chapi\Component\DependencyInjection\Loader\YamChapiConfigLoader; |
|
13 | -use Symfony\Component\Config\FileLocator; |
|
14 | 12 | use Symfony\Component\Console\Input\InputInterface; |
15 | 13 | use Symfony\Component\Console\Input\InputOption; |
16 | 14 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -101,7 +101,7 @@ |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | if (!$this->container->hasExtension($namespace)) { |
104 | - $extensionNamespaces = array_filter(array_map(function ($ext) { return $ext->getAlias(); }, $this->container->getExtensions())); |
|
104 | + $extensionNamespaces = array_filter(array_map(function($ext) { return $ext->getAlias(); }, $this->container->getExtensions())); |
|
105 | 105 | throw new InvalidArgumentException(sprintf( |
106 | 106 | 'There is no extension able to load the configuration for "%s" (in %s). Looked for namespace "%s", found %s', |
107 | 107 | $namespace, |