Skip to content

Commit d4015c7

Browse files
committed
minor #19887 [Scheduler] Small type fixes for scheduler.rst (Big-Shark)
This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Scheduler] Small type fixes for scheduler.rst Commits ------- 027f32a Small type fixes for scheduler.rst
2 parents 819e7f2 + 027f32a commit d4015c7

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
@@ -662,7 +662,7 @@ being transferred and processed by its handler::
662662
return $this->schedule ??= (new Schedule())
663663
->with(
664664
// ...
665-
);
665+
)
666666
->before(function(PreRunEvent $event) {
667667
$message = $event->getMessage();
668668
$messageContext = $event->getMessageContext();
@@ -675,13 +675,13 @@ being transferred and processed by its handler::
675675

676676
// allow to call the ShouldCancel() and avoid the message to be handled
677677
$event->shouldCancel(true);
678-
}
678+
})
679679
->after(function(PostRunEvent $event) {
680680
// Do what you want
681-
}
681+
})
682682
->onFailure(function(FailureEvent $event) {
683683
// Do what you want
684-
}
684+
});
685685
}
686686
}
687687

0 commit comments

Comments
 (0)