@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | protected function registerEventFactory(Container $container): EventServiceProvider |
139 | 139 | { |
140 | - $container->offsetSet('event_factory', function () { |
|
140 | + $container->offsetSet('event_factory', function() { |
|
141 | 141 | return new EventFactory(); |
142 | 142 | }); |
143 | 143 | |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | { |
154 | 154 | $self = $this; |
155 | 155 | |
156 | - $container->offsetSet('event_dispatcher', function (Container $container) use ($self) { |
|
156 | + $container->offsetSet('event_dispatcher', function(Container $container) use ($self) { |
|
157 | 157 | return new EventDispatcher( |
158 | 158 | new EventListenerProvider(), |
159 | 159 | $self->createEventQueueProducer($container) |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | { |
173 | 173 | $self = $this; |
174 | 174 | |
175 | - $container->extend('commands', function (array $commands, Container $container) use ($self) { |
|
175 | + $container->extend('commands', function(array $commands, Container $container) use ($self) { |
|
176 | 176 | $commands[] = new EventQueueConsumeCommand( |
177 | 177 | $container->offsetGet('event_dispatcher')->getEventListenerProvider(), |
178 | 178 | $self->createEventQueueConsumer($container), |