@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | $self = $this; |
| 31 | 31 | |
| 32 | - $container->offsetSet('lock_factory', function (Container $container) use ($self) { |
|
| 32 | + $container->offsetSet('lock_factory', function(Container $container) use ($self) { |
|
| 33 | 33 | return new LockFactory( |
| 34 | 34 | $self->createSymfonyLockFactory($container), |
| 35 | 35 | $self->createLockIdentifierGenerator() |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | protected function registerFilesystem(Container $container): FilesystemSymfonyServiceProvider |
| 27 | 27 | { |
| 28 | - $container->offsetSet('filesystem', function () { |
|
| 28 | + $container->offsetSet('filesystem', function() { |
|
| 29 | 29 | $symfonyFilesystem = new SymfonyFilesystem(); |
| 30 | 30 | |
| 31 | 31 | return new Filesystem($symfonyFilesystem); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function registerValidatorFactory(Container $container): JsonSchemaOpisServiceProvider |
| 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 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function registerFinderFactory(Container $container): FinderSymfonyServiceProvider |
| 26 | 26 | { |
| 27 | - $container->offsetSet('finder_factory', function () { |
|
| 27 | + $container->offsetSet('finder_factory', function() { |
|
| 28 | 28 | return new FinderFactory(); |
| 29 | 29 | }); |
| 30 | 30 | |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | while (true) { |
| 46 | 46 | foreach ($listeners as $eventName => $listenersPerEvent) { |
| 47 | 47 | foreach ($listenersPerEvent as $listenerIdentifier => $listener) { |
| 48 | - $this->eventQueueConsumer->dequeueAsProcess((string)$eventName, $listenerIdentifier); |
|
| 48 | + $this->eventQueueConsumer->dequeueAsProcess((string) $eventName, $listenerIdentifier); |
|
| 49 | 49 | usleep(static::DELAY_INTERVAL); |
| 50 | 50 | } |
| 51 | 51 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | $container->offsetSet( |
| 40 | 40 | QueueRabbitMqConstants::CONTAINER_KEY_CONNECTION, |
| 41 | - static function (Container $container) use ($self) { |
|
| 41 | + static function(Container $container) use ($self) { |
|
| 42 | 42 | $lazyConnection = $self->createAmqpLazyConnection($container); |
| 43 | 43 | |
| 44 | 44 | return new Connection($lazyConnection); |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | */ |
| 56 | 56 | protected function registerAmqpMessageFactory(Container $container): QueueRabbitMqServiceProvider |
| 57 | 57 | { |
| 58 | - $container->offsetSet(QueueRabbitMqConstants::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function () { |
|
| 58 | + $container->offsetSet(QueueRabbitMqConstants::CONTAINER_KEY_AMQP_MESSAGE_FACTORY, static function() { |
|
| 59 | 59 | return new AmqpMessageFactory(); |
| 60 | 60 | }); |
| 61 | 61 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | $container->offsetSet( |
| 75 | 75 | QueueConstants::CONTAINER_KEY_QUEUE_CLIENT, |
| 76 | - static function (Container $container) use ($self) { |
|
| 76 | + static function(Container $container) use ($self) { |
|
| 77 | 77 | return new QueueClient( |
| 78 | 78 | $self->createConsumers($container), |
| 79 | 79 | $self->createProducers($container) |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | protected function registerUuidFacade(Container $container): UuidRamseyServiceProvider |
| 29 | 29 | { |
| 30 | - $container->offsetSet(UuidConstants::FACADE, static function () { |
|
| 30 | + $container->offsetSet(UuidConstants::FACADE, static function() { |
|
| 31 | 31 | return new UuidRamseyFacade(new UuidRamseyFactory()); |
| 32 | 32 | }); |
| 33 | 33 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function registerFacade(Container $container): Container |
| 36 | 36 | { |
| 37 | - $container->offsetSet(HttpConstants::FACADE, static function () { |
|
| 37 | + $container->offsetSet(HttpConstants::FACADE, static function() { |
|
| 38 | 38 | $httpLeagueFactory = new HttpLeagueFactory(); |
| 39 | 39 | |
| 40 | 40 | return new HttpLeagueFacade($httpLeagueFactory); |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | protected function registerProcessFacade(Container $container): ProcessSymfonyServiceProvider |
| 29 | 29 | { |
| 30 | - $container->offsetSet(ProcessConstants::FACADE, static function () { |
|
| 30 | + $container->offsetSet(ProcessConstants::FACADE, static function() { |
|
| 31 | 31 | return new ProcessSymfonyFacade(new ProcessSymfonyFactory()); |
| 32 | 32 | }); |
| 33 | 33 | |