Skip to content

Commit 4b8d1d0

Browse files
committed
Fixed setDefinition phpDoc
1 parent 45f2db0 commit 4b8d1d0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Command/CronCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ private function getAllSchedules(): ArrayCollection
143143
* several special predefined values which can be used to substitute the
144144
* CRON expression:
145145
*
146-
* `@yearly`, `@annually` - Run once a year, midnight, Jan. 1 - 0 0 1 1 *
147-
* `@monthly` - Run once a month, midnight, first of month - 0 0 1 * *
148-
* `@weekly` - Run once a week, midnight on Sun - 0 0 * * 0
149-
* `@daily` - Run once a day, midnight - 0 0 * * *
150-
* `@hourly` - Run once an hour, first minute - 0 * * * *
146+
* `@yearly` (or `@annually`) Run once a year at midnight in the morning of January 1 0 0 1 1 *
147+
* `@monthly` Run once a month at midnight in the morning of the first of the month 0 0 1 * *
148+
* `@weekly` Run once a week at midnight in the morning of Sunday 0 0 * * 0
149+
* `@daily` Run once a day at midnight 0 0 * * *
150+
* `@hourly` Run once an hour at the beginning of the hour 0 * * * *
151151
*
152152
* @return CronExpression
153153
*/

src/Model/CronSchedule.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ public function getDefinition(): string
113113
*
114114
* Predefined values are:
115115
*
116-
* @yearly (or @annually) Run once a year at midnight in the morning of January 1 0 0 1 1 *
117-
* @monthly Run once a month at midnight in the morning of the first of the month 0 0 1 * *
118-
* @weekly Run once a week at midnight in the morning of Sunday 0 0 * * 0
119-
* @daily Run once a day at midnight 0 0 * * *
120-
* @hourly Run once an hour at the beginning of the hour 0 * * * *
116+
* `@yearly` (or `@annually`) Run once a year at midnight in the morning of January 1 0 0 1 1 *
117+
* `@monthly` Run once a month at midnight in the morning of the first of the month 0 0 1 * *
118+
* `@weekly` Run once a week at midnight in the morning of Sunday 0 0 * * 0
119+
* `@daily` Run once a day at midnight 0 0 * * *
120+
* `@hourly` Run once an hour at the beginning of the hour 0 * * * *
121121
*
122122
* @param string $definition New cron definition
123123
*/

0 commit comments

Comments
 (0)