@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | protected function registerScheduler(Container $container): SchedulerServiceProvider |
32 | 32 | { |
33 | - $container->offsetSet(SchedulerConstants::CONTAINER_KEY_SCHEDULER, function () { |
|
33 | + $container->offsetSet(SchedulerConstants::CONTAINER_KEY_SCHEDULER, function() { |
|
34 | 34 | return new Scheduler(); |
35 | 35 | }); |
36 | 36 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | protected function registerCommands(Container $container): SchedulerServiceProvider |
46 | 46 | { |
47 | - $container->extend('commands', static function (array $commands, Container $container) { |
|
47 | + $container->extend('commands', static function(array $commands, Container $container) { |
|
48 | 48 | $commands[] = new RunSchedulerCommand( |
49 | 49 | $container->offsetGet(SchedulerConstants::CONTAINER_KEY_SCHEDULER), |
50 | 50 | $container->offsetGet('lock_factory'), |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | { |
67 | 67 | $self = $this; |
68 | 68 | |
69 | - $container->offsetSet(SchedulerConstants::CONTAINER_KEY_JOB_FACTORY, static function (Container $container) use ($self) { |
|
69 | + $container->offsetSet(SchedulerConstants::CONTAINER_KEY_JOB_FACTORY, static function(Container $container) use ($self) { |
|
70 | 70 | $processFactory = $self->getProcessFactory($container); |
71 | 71 | if ($processFactory === null) { |
72 | 72 | return null; |