@@ -143,7 +143,7 @@ public function everyThirtySeconds()
143
143
/**
144
144
* Schedule the event to run multiple times per minute.
145
145
*
146
- * @param int $seconds
146
+ * @param int<0, 59> $seconds
147
147
* @return $this
148
148
*/
149
149
protected function repeatEvery ($ seconds )
@@ -250,7 +250,7 @@ public function hourly()
250
250
/**
251
251
* Schedule the event to run hourly at a given offset in the hour.
252
252
*
253
- * @param array|string|int $offset
253
+ * @param array|string|int<0, 23>|int<0, 23>[] $offset
254
254
* @return $this
255
255
*/
256
256
public function hourlyAt ($ offset )
@@ -353,8 +353,8 @@ public function dailyAt($time)
353
353
/**
354
354
* Schedule the event to run twice daily.
355
355
*
356
- * @param int $first
357
- * @param int $second
356
+ * @param int<0, 23> $first
357
+ * @param int<0, 23> $second
358
358
* @return $this
359
359
*/
360
360
public function twiceDaily ($ first = 1 , $ second = 13 )
@@ -365,9 +365,9 @@ public function twiceDaily($first = 1, $second = 13)
365
365
/**
366
366
* Schedule the event to run twice daily at a given offset.
367
367
*
368
- * @param int $first
369
- * @param int $second
370
- * @param int $offset
368
+ * @param int<0, 23> $first
369
+ * @param int<0, 23> $second
370
+ * @param int<0, 59> $offset
371
371
* @return $this
372
372
*/
373
373
public function twiceDailyAt ($ first = 1 , $ second = 13 , $ offset = 0 )
@@ -380,8 +380,8 @@ public function twiceDailyAt($first = 1, $second = 13, $offset = 0)
380
380
/**
381
381
* Schedule the event to run at the given minutes and hours.
382
382
*
383
- * @param array|string|int $minutes
384
- * @param array|string|int $hours
383
+ * @param array|string|int<0, 59> $minutes
384
+ * @param array|string|int<0, 23> $hours
385
385
* @return $this
386
386
*/
387
387
protected function hourBasedSchedule ($ minutes , $ hours )
@@ -525,7 +525,7 @@ public function monthly()
525
525
/**
526
526
* Schedule the event to run monthly on a given day and time.
527
527
*
528
- * @param int $dayOfMonth
528
+ * @param int<0, 31> $dayOfMonth
529
529
* @param string $time
530
530
* @return $this
531
531
*/
@@ -539,8 +539,8 @@ public function monthlyOn($dayOfMonth = 1, $time = '0:0')
539
539
/**
540
540
* Schedule the event to run twice monthly at a given time.
541
541
*
542
- * @param int $first
543
- * @param int $second
542
+ * @param int $first<0, 31>
543
+ * @param int $second<0, 31>
544
544
* @param string $time
545
545
* @return $this
546
546
*/
@@ -611,7 +611,7 @@ public function yearly()
611
611
* Schedule the event to run yearly on a given month, day, and time.
612
612
*
613
613
* @param int $month
614
- * @param int|string $dayOfMonth
614
+ * @param int<0, 31> |string $dayOfMonth
615
615
* @param string $time
616
616
* @return $this
617
617
*/
0 commit comments