Passed
Push — master ( a5d107...2f330a )
by Daniel
02:29
created
packages/scheduler/src/Jellyfish/Scheduler/SchedulerServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.