Skip to content

Commit

Permalink
Mark SystemClock as @immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed May 3, 2023
1 parent cc976eb commit b334621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SystemClock.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use function date_default_timezone_get;

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

0 comments on commit b334621

Please sign in to comment.