@@ -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 |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | protected function registerEventFactory(Container $container): EventServiceProvider |
145 | 145 | { |
146 | - $container->offsetSet(EventConstants::CONTAINER_KEY_EVENT_FACTORY, static function (Container $container) { |
|
146 | + $container->offsetSet(EventConstants::CONTAINER_KEY_EVENT_FACTORY, static function(Container $container) { |
|
147 | 147 | return new EventFactory($container->offsetGet(UuidConstants::FACADE)); |
148 | 148 | }); |
149 | 149 | |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | |
162 | 162 | $container->offsetSet( |
163 | 163 | EventConstants::CONTAINER_KEY_EVENT_DISPATCHER, |
164 | - static function (Container $container) use ($self) { |
|
164 | + static function(Container $container) use ($self) { |
|
165 | 165 | return new EventDispatcher( |
166 | 166 | new EventListenerProvider(), |
167 | 167 | $self->createEventQueueProducer($container) |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | { |
182 | 182 | $self = $this; |
183 | 183 | |
184 | - $container->extend('commands', static function (array $commands, Container $container) use ($self) { |
|
184 | + $container->extend('commands', static function(array $commands, Container $container) use ($self) { |
|
185 | 185 | $commands[] = new EventQueueConsumeCommand( |
186 | 186 | $container->offsetGet('event_dispatcher')->getEventListenerProvider(), |
187 | 187 | $self->createEventQueueConsumer($container), |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | */ |
207 | 207 | protected function registerDefaultEventErrorHandlers(Container $container): EventServiceProvider |
208 | 208 | { |
209 | - $container->offsetSet(EventConstants::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function () { |
|
209 | + $container->offsetSet(EventConstants::CONTAINER_KEY_DEFAULT_EVENT_ERROR_HANDLERS, static function() { |
|
210 | 210 | return []; |
211 | 211 | }); |
212 | 212 |
@@ -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); |