@@ -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); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | protected function registerSchedulerFacade(Container $container): SchedulerServiceProvider |
31 | 31 | { |
32 | - $container->offsetSet(SchedulerConstants::FACADE, static function (Container $container) { |
|
32 | + $container->offsetSet(SchedulerConstants::FACADE, static function(Container $container) { |
|
33 | 33 | $schedulerFactory = new SchedulerFactory($container->offsetGet(ProcessConstants::FACADE)); |
34 | 34 | |
35 | 35 | return new SchedulerFacade($schedulerFactory); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | */ |
46 | 46 | protected function registerCommands(Container $container): SchedulerServiceProvider |
47 | 47 | { |
48 | - $container->extend('commands', static function (array $commands, Container $container) { |
|
48 | + $container->extend('commands', static function(array $commands, Container $container) { |
|
49 | 49 | $commands[] = new RunSchedulerCommand( |
50 | 50 | $container->offsetGet(SchedulerConstants::FACADE), |
51 | 51 | $container->offsetGet('lock_factory'), |
@@ -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 |