Skip to content

Commit 0c6aa4b

Browse files
authored
Fix day range in docblock (#53985)
* Fix day range * Formatting
1 parent 606f82b commit 0c6aa4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Console/Scheduling/ManagesFrequencies.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public function monthly()
525525
/**
526526
* Schedule the event to run monthly on a given day and time.
527527
*
528-
* @param int<0, 31> $dayOfMonth
528+
* @param int<1, 31> $dayOfMonth
529529
* @param string $time
530530
* @return $this
531531
*/
@@ -539,8 +539,8 @@ public function monthlyOn($dayOfMonth = 1, $time = '0:0')
539539
/**
540540
* Schedule the event to run twice monthly at a given time.
541541
*
542-
* @param int $first<0, 31>
543-
* @param int $second<0, 31>
542+
* @param int<1, 31> $first
543+
* @param int<1, 31> $second
544544
* @param string $time
545545
* @return $this
546546
*/
@@ -611,7 +611,7 @@ public function yearly()
611611
* Schedule the event to run yearly on a given month, day, and time.
612612
*
613613
* @param int $month
614-
* @param int<0, 31>|string $dayOfMonth
614+
* @param int<1, 31>|string $dayOfMonth
615615
* @param string $time
616616
* @return $this
617617
*/

0 commit comments

Comments
 (0)