| @@ -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); | 
| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 | */ | 
| 38 | 38 | protected function registerRequest(Container $container): HttpServiceProvider | 
| 39 | 39 |      { | 
| 40 | -        $container->offsetSet('request', function () { | |
| 40 | +        $container->offsetSet('request', function() { | |
| 41 | 41 | return ServerRequestFactory::fromGlobals(); | 
| 42 | 42 | }); | 
| 43 | 43 | |
| @@ -53,7 +53,7 @@ discard block | ||
| 53 | 53 |      { | 
| 54 | 54 | $self = $this; | 
| 55 | 55 | |
| 56 | -        $container->offsetSet('router', function () use ($self) { | |
| 56 | +        $container->offsetSet('router', function() use ($self) { | |
| 57 | 57 | $router = new Router(); | 
| 58 | 58 | |
| 59 | 59 | $router->setStrategy($self->createStrategy()); | 
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | */ | 
| 72 | 72 | protected function registerEmitter(Container $container): HttpServiceProvider | 
| 73 | 73 |      { | 
| 74 | -        $container->offsetSet('emitter', function () { | |
| 74 | +        $container->offsetSet('emitter', function() { | |
| 75 | 75 | return new SapiStreamEmitter(); | 
| 76 | 76 | }); | 
| 77 | 77 | |
| @@ -27,7 +27,7 @@ | ||
| 27 | 27 |      { | 
| 28 | 28 | $self = $this; | 
| 29 | 29 | |
| 30 | -        $container->offsetSet('queue_client', function (Container $container) use ($self) { | |
| 30 | +        $container->offsetSet('queue_client', function(Container $container) use ($self) { | |
| 31 | 31 | return new QueueClient( | 
| 32 | 32 | $self->createSqsClient($container), | 
| 33 | 33 |                  $container->offsetGet('message_mapper') | 
| @@ -26,7 +26,7 @@ discard block | ||
| 26 | 26 | */ | 
| 27 | 27 | protected function registerFeedReaderManager(Container $container): FeedServiceProvider | 
| 28 | 28 |      { | 
| 29 | -        $container->offsetSet('feed_reader_manager', function () { | |
| 29 | +        $container->offsetSet('feed_reader_manager', function() { | |
| 30 | 30 | return new FeedReaderManager(); | 
| 31 | 31 | }); | 
| 32 | 32 | |
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | */ | 
| 41 | 41 | protected function registerCommands(Container $container): FeedServiceProvider | 
| 42 | 42 |      { | 
| 43 | -        $container->extend('commands', function (array $commands, Container $container) { | |
| 43 | +        $container->extend('commands', function(array $commands, Container $container) { | |
| 44 | 44 |              $commands[] = new RunFeedReaderCommand($container->offsetGet('feed_reader_manager')); | 
| 45 | 45 | |
| 46 | 46 | return $commands; | 
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | */ | 
| 25 | 25 | protected function registerProcessFactory(Container $container): ProcessSymfonyServiceProvider | 
| 26 | 26 |      { | 
| 27 | -        $container->offsetSet('process_factory', function () { | |
| 27 | +        $container->offsetSet('process_factory', function() { | |
| 28 | 28 | return new ProcessFactory(); | 
| 29 | 29 | }); | 
| 30 | 30 | |
| @@ -48,7 +48,7 @@ discard block | ||
| 48 | 48 |      { | 
| 49 | 49 | $self = $this; | 
| 50 | 50 | |
| 51 | -        $container->extend('commands', function (array $commands, Container $container) use ($self) { | |
| 51 | +        $container->extend('commands', function(array $commands, Container $container) use ($self) { | |
| 52 | 52 | $commands[] = new TransferGenerateCommand( | 
| 53 | 53 | $self->createTransferGenerator($container), | 
| 54 | 54 | $self->createTransferCleaner($container), | 
| @@ -213,7 +213,7 @@ discard block | ||
| 213 | 213 | } | 
| 214 | 214 | |
| 215 | 215 |          foreach ($factoryRegistry as $factoryId => $factory) { | 
| 216 | -            $container->offsetSet((string)$factoryId, function () use ($factory) { | |
| 216 | +            $container->offsetSet((string) $factoryId, function() use ($factory) { | |
| 217 | 217 | return $factory; | 
| 218 | 218 | }); | 
| 219 | 219 | } | 
| @@ -26,7 +26,7 @@ discard block | ||
| 26 | 26 | */ | 
| 27 | 27 | protected function registerScheduler(Container $container): SchedulerServiceProvider | 
| 28 | 28 |      { | 
| 29 | -        $container->offsetSet('scheduler', function () { | |
| 29 | +        $container->offsetSet('scheduler', function() { | |
| 30 | 30 | return new Scheduler(); | 
| 31 | 31 | }); | 
| 32 | 32 | |
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | */ | 
| 41 | 41 | protected function registerCommands(Container $container): SchedulerServiceProvider | 
| 42 | 42 |      { | 
| 43 | -        $container->extend('commands', function (array $commands, Container $container) { | |
| 43 | +        $container->extend('commands', function(array $commands, Container $container) { | |
| 44 | 44 | $commands[] = new RunSchedulerCommand( | 
| 45 | 45 |                  $container->offsetGet('scheduler'), | 
| 46 | 46 |                  $container->offsetGet('lock_factory'), | 
| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | protected function registerQueueClient(Container $container): QueueRabbitMqServiceProvider | 
| 26 | 26 |      { | 
| 27 | 27 | $self = $this; | 
| 28 | -        $container->offsetSet('queue_client', function (Container $container) use ($self) { | |
| 28 | +        $container->offsetSet('queue_client', function(Container $container) use ($self) { | |
| 29 | 29 | return new QueueClient( | 
| 30 | 30 | $self->createConnection($container), | 
| 31 | 31 |                  $container->offsetGet('message_mapper') | 
| @@ -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 | |