Skip to content

Commit 8bdc50e

Browse files
committed
Minor tweaks
1 parent 2450c15 commit 8bdc50e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scheduler.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ PreRunEvent
510510
**Event Class**: :class:`Symfony\\Component\\Scheduler\\Event\\PreRunEvent`
511511

512512
``PreRunEvent`` allows to modify the :class:`Symfony\\Component\\Scheduler\\Schedule`
513-
or cancel message before it's consumed::
513+
or cancel a message before it's consumed::
514514

515515
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
516516
use Symfony\Component\Scheduler\Event\PreRunEvent;
@@ -540,7 +540,7 @@ PostRunEvent
540540
**Event Class**: :class:`Symfony\\Component\\Scheduler\\Event\\PostRunEvent`
541541

542542
``PostRunEvent`` allows to modify the :class:`Symfony\\Component\\Scheduler\\Schedule`
543-
after message is consumed::
543+
after a message is consumed::
544544

545545
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
546546
use Symfony\Component\Scheduler\Event\PostRunEvent;
@@ -567,7 +567,7 @@ FailureEvent
567567
**Event Class**: :class:`Symfony\\Component\\Scheduler\\Event\\FailureEvent`
568568

569569
``FailureEvent`` allows to modify the :class:`Symfony\\Component\\Scheduler\\Schedule`
570-
when message consumption throw an exception::
570+
when a message consumption throws an exception::
571571

572572
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
573573
use Symfony\Component\Scheduler\Event\FailureEvent;
@@ -595,8 +595,8 @@ and their priorities:
595595
596596
.. versionadded:: 6.4
597597

598-
Methods ``PreRunEvent``, ``PostRunEvent`` and ``FailureEvent`` were introduced
599-
in Symfony 6.4.
598+
The ``PreRunEvent``, ``PostRunEvent`` and ``FailureEvent`` events were
599+
introduced in Symfony 6.4.
600600

601601
.. _`Memoizing`: https://en.wikipedia.org/wiki/Memoization
602602
.. _`cron command-line utility`: https://en.wikipedia.org/wiki/Cron

0 commit comments

Comments
 (0)