@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addHealthCheckPlugins(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::PLUGINS_HEALTH_CHECK, function (Container $container) { |
|
39 | + $container->set(static::PLUGINS_HEALTH_CHECK, function(Container $container) { |
|
40 | 40 | return $this->getHealthCheckPlugins(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addStorageClient(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::CLIENT_STORAGE, function (Container $container) { |
|
39 | + $container->set(static::CLIENT_STORAGE, function(Container $container) { |
|
40 | 40 | return $container->getLocator()->storage()->client(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addSearchClient(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::CLIENT_SEARCH, function (Container $container) { |
|
39 | + $container->set(static::CLIENT_SEARCH, function(Container $container) { |
|
40 | 40 | return $container->getLocator()->search()->client(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addHealthCheckPlugins(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::PLUGINS_HEALTH_CHECK, function (Container $container) { |
|
39 | + $container->set(static::PLUGINS_HEALTH_CHECK, function(Container $container) { |
|
40 | 40 | return $this->getHealthCheckPlugins(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addHealthCheckPlugins(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::PLUGINS_HEALTH_CHECK, function (Container $container) { |
|
39 | + $container->set(static::PLUGINS_HEALTH_CHECK, function(Container $container) { |
|
40 | 40 | return $this->getHealthCheckPlugins(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addStorageClient(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::CLIENT_STORAGE, function (Container $container) { |
|
39 | + $container->set(static::CLIENT_STORAGE, function(Container $container) { |
|
40 | 40 | return $container->getLocator()->storage()->client(); |
41 | 41 | }); |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | protected function addSearchClient(Container $container): Container |
38 | 38 | { |
39 | - $container->set(static::CLIENT_SEARCH, function (Container $container) { |
|
39 | + $container->set(static::CLIENT_SEARCH, function(Container $container) { |
|
40 | 40 | return $container->getLocator()->search()->client(); |
41 | 41 | }); |
42 | 42 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public function addXssSanitizer(Container $container): Container |
37 | 37 | { |
38 | - $container->set(static::XSS_SANITIZER, function () { |
|
38 | + $container->set(static::XSS_SANITIZER, function() { |
|
39 | 39 | return new UtilSanitizeToAntiXssAdapter(); |
40 | 40 | }); |
41 | 41 |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | } |
221 | 221 | |
222 | 222 | $process = new Process($commandLine, $this->config->getPathToRoot(), null, null, $this->config->getProcessTimeout()); |
223 | - $process->run(function ($type, $buffer) { |
|
223 | + $process->run(function($type, $buffer) { |
|
224 | 224 | echo $buffer; |
225 | 225 | }); |
226 | 226 | |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | ); |
253 | 253 | |
254 | 254 | $process = new Process($commandLine, $this->config->getPathToRoot(), null, null, $this->config->getProcessTimeout()); |
255 | - $process->run(function ($type, $buffer) { |
|
255 | + $process->run(function($type, $buffer) { |
|
256 | 256 | echo $buffer; |
257 | 257 | }); |
258 | 258 | |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | $commandLine[] = 'build'; |
273 | 273 | |
274 | 274 | $process = new Process($commandLine, $this->config->getPathToRoot(), null, null, $this->config->getProcessTimeout()); |
275 | - $process->run(function ($type, $buffer) use ($options) { |
|
275 | + $process->run(function($type, $buffer) use ($options) { |
|
276 | 276 | if ($options[static::OPTION_VERBOSE]) { |
277 | 277 | echo $buffer; |
278 | 278 | } |