@@ -124,7 +124,7 @@ |
||
| 124 | 124 | |
| 125 | 125 | if (null !== $this->logger) { |
| 126 | 126 | $ids = array_map( |
| 127 | - function (Document $doc) { |
|
| 127 | + function(Document $doc) { |
|
| 128 | 128 | return $doc->getId(); |
| 129 | 129 | }, |
| 130 | 130 | $documents |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function createClient(array $hosts, LoggerInterface $logger = null) |
| 20 | 20 | { |
| 21 | - $builder = ClientBuilder::create(); |
|
| 21 | + $builder = ClientBuilder::create(); |
|
| 22 | 22 | |
| 23 | 23 | $builder |
| 24 | 24 | ->setHosts($hosts) |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function writeSuccessMessage(OutputInterface $output, $message = '') |
| 87 | 87 | { |
| 88 | - $output->writeln("\n" . '<success>✓</success> ' . $message); |
|
| 88 | + $output->writeln("\n".'<success>✓</success> '.$message); |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
@@ -94,6 +94,6 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | protected function writeErrorMessage(OutputInterface $output, $message = '') |
| 96 | 96 | { |
| 97 | - $output->writeln("\n" . '<error>✗</error> ' . $message); |
|
| 97 | + $output->writeln("\n".'<error>✗</error> '.$message); |
|
| 98 | 98 | } |
| 99 | 99 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $configuration = new Configuration(); |
| 22 | 22 | $config = $this->processConfiguration($configuration, $configs); |
| 23 | 23 | |
| 24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 25 | 25 | $loader->load('services.yml'); |
| 26 | 26 | |
| 27 | 27 | $this->processClients($config['default_client'], $config['clients'], $container); |