Skip to content

Commit b71e6c5

Browse files
authored
Small type fixes for scheduler.rst
1 parent 6e11752 commit b71e6c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scheduler.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ being transferred and processed by its handler::
634634
return $this->schedule ??= (new Schedule())
635635
->with(
636636
// ...
637-
);
637+
)
638638
->before(function(PreRunEvent $event) {
639639
$message = $event->getMessage();
640640
$messageContext = $event->getMessageContext();
@@ -647,13 +647,13 @@ being transferred and processed by its handler::
647647

648648
// allow to call the ShouldCancel() and avoid the message to be handled
649649
$event->shouldCancel(true);
650-
}
650+
})
651651
->after(function(PostRunEvent $event) {
652652
// Do what you want
653-
}
653+
})
654654
->onFailure(function(FailureEvent $event) {
655655
// Do what you want
656-
}
656+
});
657657
}
658658
}
659659

0 commit comments

Comments
 (0)