@@ -33,7 +33,7 @@ |
||
| 33 | 33 | { |
| 34 | 34 | $container->extend( |
| 35 | 35 | EventConstants::FACADE, |
| 36 | - static function (EventFacadeInterface $eventFacade, Container $container) { |
|
| 36 | + static function(EventFacadeInterface $eventFacade, Container $container) { |
|
| 37 | 37 | $eventErrorHandler = new CacheEventErrorHandler( |
| 38 | 38 | $container->offsetGet(CacheConstants::FACADE), |
| 39 | 39 | $container->offsetGet(SerializerConstants::FACADE) |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function registerEventFacade(Container $container): EventServiceProvider |
| 39 | 39 | { |
| 40 | - $container->offsetSet(EventConstants::FACADE, static function (Container $container) { |
|
| 40 | + $container->offsetSet(EventConstants::FACADE, static function(Container $container) { |
|
| 41 | 41 | $eventFactory = new EventFactory( |
| 42 | 42 | $container->offsetGet(ProcessConstants::FACADE), |
| 43 | 43 | $container->offsetGet(QueueConstants::FACADE), |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | { |
| 62 | 62 | $container->extend( |
| 63 | 63 | ConsoleConstants::FACADE, |
| 64 | - static function (ConsoleFacadeInterface $consoleFacade, Container $container) { |
|
| 64 | + static function(ConsoleFacadeInterface $consoleFacade, Container $container) { |
|
| 65 | 65 | $consoleFacade->addCommand( |
| 66 | 66 | new EventQueueConsumeCommand( |
| 67 | 67 | $container->offsetGet(EventConstants::FACADE), |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function registerHttpFacade(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); |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | protected function registerTransferFacade(Container $container): TransferServiceProvider |
| 36 | 36 | { |
| 37 | - $container->offsetSet(TransferConstants::FACADE, static function (Container $container) { |
|
| 37 | + $container->offsetSet(TransferConstants::FACADE, static function(Container $container) { |
|
| 38 | 38 | $transferFactory = new TransferFactory( |
| 39 | 39 | $container->offsetGet(FilesystemConstants::FACADE), |
| 40 | 40 | $container->offsetGet(SerializerConstants::FACADE), |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | { |
| 58 | 58 | $container->extend( |
| 59 | 59 | ConsoleConstants::FACADE, |
| 60 | - static function (ConsoleFacadeInterface $consoleFacade, Container $container) { |
|
| 60 | + static function(ConsoleFacadeInterface $consoleFacade, Container $container) { |
|
| 61 | 61 | $consoleFacade->addCommand( |
| 62 | 62 | new TransferGenerateCommand( |
| 63 | 63 | $container->offsetGet(TransferConstants::FACADE), |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | { |
| 33 | 33 | $container->extend( |
| 34 | 34 | EventConstants::FACADE, |
| 35 | - static function (EventFacadeInterface $eventFacade, Container $container) { |
|
| 35 | + static function(EventFacadeInterface $eventFacade, Container $container) { |
|
| 36 | 36 | $eventErrorHandler = new LogEventErrorHandler( |
| 37 | 37 | $container->offsetGet(LogConstants::FACADE) |
| 38 | 38 | ); |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | protected function registerQueueFacade(Container $container): QueueRabbitMqServiceProvider |
| 31 | 31 | { |
| 32 | - $container->offsetSet(QueueConstants::FACADE, static function (Container $container) { |
|
| 32 | + $container->offsetSet(QueueConstants::FACADE, static function(Container $container) { |
|
| 33 | 33 | $queueRabbitMqFactory = new QueueRabbitMqFactory( |
| 34 | 34 | $container->offsetGet(ConfigConstants::FACADE), |
| 35 | 35 | $container->offsetGet(SerializerConstants::FACADE) |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | protected function registerFilesystemFacade(Container $container): FilesystemSymfonyServiceProvider |
| 29 | 29 | { |
| 30 | - $container->offsetSet(FilesystemConstants::FACADE, static function () { |
|
| 30 | + $container->offsetSet(FilesystemConstants::FACADE, static function() { |
|
| 31 | 31 | return new FilesystemSymfonyFacade( |
| 32 | 32 | new FilesystemSymfonyFactory() |
| 33 | 33 | ); |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | protected function registerFinderFacade(Container $container): FinderSymfonyServiceProvider |
| 29 | 29 | { |
| 30 | - $container->offsetSet(FinderConstants::FACADE, function () { |
|
| 30 | + $container->offsetSet(FinderConstants::FACADE, function() { |
|
| 31 | 31 | return new FinderSymfonyFacade(new FinderSymfonyFactory()); |
| 32 | 32 | }); |
| 33 | 33 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | protected function registerLockFacade(Container $container): LockSymfonyServiceProvider |
| 30 | 30 | { |
| 31 | - $container->offsetSet(LockConstants::FACADE, function (Container $container) { |
|
| 31 | + $container->offsetSet(LockConstants::FACADE, function(Container $container) { |
|
| 32 | 32 | $lockFactory = new LockSymfonyFactory( |
| 33 | 33 | $container->offsetGet(ConfigConstants::FACADE) |
| 34 | 34 | ); |