8000 Merge branch '7.1' into 7.2 · symfony/symfony-docs@976a800 · GitHub
[go: up one dir, main page]

Skip to content

Commit 976a800

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: [Scheduler] Fix indention and single quotes for `A Dynamic Vision for the Messages Generated` section example
2 parents 1620800 + ec76775 commit 976a800

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
@@ -394,9 +394,10 @@ checks for messages to be generated::
394394
new ExcludeHolidaysTrigger(
395395
CronExpressionTrigger::fromSpec('@daily'),
396396
),
397-
// instead of being static as in the previous example
398-
new CallbackMessageProvider([$this, 'generateReports'], 'foo')),
399-
RecurringMessage::cron(‘3 8 * * 1’, new CleanUpOldSalesReport())
397+
// instead of being static as in the previous example
398+
new CallbackMessageProvider([$this, 'generateReports'], 'foo')
399+
),
400+
RecurringMessage::cron('3 8 * * 1', new CleanUpOldSalesReport())
400401
);
401402
}
402403

0 commit comments

Comments
 (0)
0