Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/Period.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static function composite(
/**
* @psalm-pure
*
* @param 0|positive-int $year
* @param int<0, max> $year
*/
#[\NoDiscard]
public static function year(int $year): self
Expand All @@ -121,7 +121,7 @@ public static function year(int $year): self
/**
* @psalm-pure
*
* @param 0|positive-int $month
* @param int<0, max> $month
*/
#[\NoDiscard]
public static function month(int $month): self
Expand Down Expand Up @@ -149,7 +149,7 @@ public static function month(int $month): self
/**
* @psalm-pure
*
* @param 0|positive-int $day
* @param int<0, max> $day
*/
#[\NoDiscard]
public static function day(int $day): self
Expand All @@ -169,7 +169,7 @@ public static function day(int $day): self
/**
* @psalm-pure
*
* @param 0|positive-int $hour
* @param int<0, max> $hour
*/
#[\NoDiscard]
public static function hour(int $hour): self
Expand Down Expand Up @@ -197,7 +197,7 @@ public static function hour(int $hour): self
/**
* @psalm-pure
*
* @param 0|positive-int $minute
* @param int<0, max> $minute
*/
#[\NoDiscard]
public static function minute(int $minute): self
Expand Down Expand Up @@ -226,7 +226,7 @@ public static function minute(int $minute): self
/**
* @psalm-pure
*
* @param 0|positive-int $second
* @param int<0, max> $second
*/
#[\NoDiscard]
public static function second(int $second): self
Expand Down Expand Up @@ -255,7 +255,7 @@ public static function second(int $second): self
/**
* @psalm-pure
*
* @param 0|positive-int $millisecond
* @param int<0, max> $millisecond
*/
#[\NoDiscard]
public static function millisecond(int $millisecond): self
Expand Down Expand Up @@ -284,7 +284,7 @@ public static function millisecond(int $millisecond): self
/**
* @psalm-pure
*
* @param 0|positive-int $microsecond
* @param int<0, max> $microsecond
*/
#[\NoDiscard]
public static function microsecond(int $microsecond): self
Expand Down
Loading