Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/FrozenClock.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function setTo(DateTimeImmutable $now): void
/**
* Adjusts the current time by a given modifier.
*
* @param string $modifier @see https://www.php.net/manual/en/datetime.formats.php
* @param non-empty-string $modifier @see https://www.php.net/manual/en/datetime.formats.php
*
* @throws DateMalformedStringException When an invalid date/time string is passed.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/SystemClock.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
use function date_default_timezone_get;

/** @immutable */
final class SystemClock implements Clock
final readonly class SystemClock implements Clock
{
public function __construct(private readonly DateTimeZone $timezone)
public function __construct(private DateTimeZone $timezone)
{
}

Expand Down
Loading