@@ -33,7 +33,7 @@ |
||
| 33 | 33 | { |
| 34 | 34 | $self = $this; |
| 35 | 35 | |
| 36 | - $container->offsetSet('serializer', function () use ($self) { |
|
| 36 | + $container->offsetSet('serializer', function() use ($self) { |
|
| 37 | 37 | return new Serializer( |
| 38 | 38 | $self->createSymfonySerializer() |
| 39 | 39 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function (Container $container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function(Container $container) use ($self) { |
|
| 24 | 24 | return $self->createClient( |
| 25 | 25 | $container->offsetGet('config'), |
| 26 | 26 | $container->offsetGet('message_mapper') |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $self = $this; |
| 19 | 19 | |
| 20 | - $pimple->offsetSet('message_factory', function () use ($self) { |
|
| 20 | + $pimple->offsetSet('message_factory', function() use ($self) { |
|
| 21 | 21 | return $self->createMessageFactory(); |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | - $pimple->offsetSet('message_mapper', function (Container $container) use ($self) { |
|
| 24 | + $pimple->offsetSet('message_mapper', function(Container $container) use ($self) { |
|
| 25 | 25 | return $self->createMessageMapper( |
| 26 | 26 | $container->offsetGet('serializer') |
| 27 | 27 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function (Container $container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function(Container $container) use ($self) { |
|
| 24 | 24 | return $self->createClient( |
| 25 | 25 | $container->offsetGet('config'), |
| 26 | 26 | $container->offsetGet('message_mapper') |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | 'root_dir' => $this->rootDir, |
| 70 | 70 | 'app_dir' => $this->appDir, |
| 71 | 71 | 'environment' => $this->environment, |
| 72 | - 'commands' => function () { |
|
| 72 | + 'commands' => function() { |
|
| 73 | 73 | return []; |
| 74 | 74 | } |
| 75 | 75 | ]); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function createValidatorFactory(Container $container): ServiceProviderInterface |
| 26 | 26 | { |
| 27 | - $container->offsetSet('json_schema_validator_factory', function () { |
|
| 27 | + $container->offsetSet('json_schema_validator_factory', function() { |
|
| 28 | 28 | return new ValidatorFactory(); |
| 29 | 29 | }); |
| 30 | 30 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | { |
| 29 | 29 | $self = $this; |
| 30 | 30 | |
| 31 | - $container->offsetSet('lock_factory', function (Container $container) use ($self) { |
|
| 31 | + $container->offsetSet('lock_factory', function(Container $container) use ($self) { |
|
| 32 | 32 | return new LockFactory($self->createSymfonyLockFactory($container)); |
| 33 | 33 | }); |
| 34 | 34 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function createProcessFactory(Container $container): ServiceProviderInterface |
| 26 | 26 | { |
| 27 | - $container->offsetSet('process_factory', function () { |
|
| 27 | + $container->offsetSet('process_factory', function() { |
|
| 28 | 28 | return new ProcessFactory(); |
| 29 | 29 | }); |
| 30 | 30 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | { |
| 28 | 28 | $config = $container->offsetGet('config'); |
| 29 | 29 | |
| 30 | - $container->offsetSet('redis_client', function () use ($config) { |
|
| 30 | + $container->offsetSet('redis_client', function() use ($config) { |
|
| 31 | 31 | return new Client([ |
| 32 | 32 | 'scheme' => 'tcp', |
| 33 | 33 | 'host' => $config->get(RedisConstants::REDIS_HOST, RedisConstants::DEFAULT_REDIS_HOST), |