Skip to content

Commit

Permalink
Fix month range
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Dec 19, 2024
1 parent 5d81b45 commit 3939c1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Console/Scheduling/ManagesFrequencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function monthly()
/**
* Schedule the event to run monthly on a given day and time.
*
* @param int<0, 31> $dayOfMonth
* @param int<1, 31> $dayOfMonth
* @param string $time
* @return $this
*/
Expand All @@ -539,8 +539,8 @@ public function monthlyOn($dayOfMonth = 1, $time = '0:0')
/**
* Schedule the event to run twice monthly at a given time.
*
* @param int $first<0, 31>
* @param int $second<0, 31>
* @param int $first<1, 31>
* @param int $second<1, 31>
* @param string $time
* @return $this
*/
Expand Down Expand Up @@ -611,7 +611,7 @@ public function yearly()
* Schedule the event to run yearly on a given month, day, and time.
*
* @param int $month
* @param int<0, 31>|string $dayOfMonth
* @param int<1, 31>|string $dayOfMonth
* @param string $time
* @return $this
*/
Expand Down

0 comments on commit 3939c1c

Please sign in to comment.