Skip to content

Commit a181bfd

Browse files
committed
minor #20194 [Scheduler] Fix indention and single quotes for the example in A Dynamic Vision for the Messages Generated section (smoench)
This PR was submitted for the 7.1 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Scheduler] Fix indention and single quotes for the example in `A Dynamic Vision for the Messages Generated` section <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- 5b4c2cd [Scheduler] Fix indention and single quotes for `A Dynamic Vision for the Messages Generated` section example
2 parents ec31652 + 5b4c2cd commit a181bfd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scheduler.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,10 @@ checks for messages to be generated::
412412
new ExcludeHolidaysTrigger(
413413
CronExpressionTrigger::fromSpec('@daily'),
414414
),
415-
// instead of being static as in the previous example
416-
new CallbackMessageProvider([$this, 'generateReports'], 'foo')),
417-
RecurringMessage::cron(‘3 8 * * 1’, new CleanUpOldSalesReport())
415+
// instead of being static as in the previous example
416+
new CallbackMessageProvider([$this, 'generateReports'], 'foo')
417+
),
418+
RecurringMessage::cron('3 8 * * 1', new CleanUpOldSalesReport())
418419
);
419420
}
420421

0 commit comments

Comments
 (0)