Skip to content

Commit

Permalink
Merge pull request #671 from Slamdunk/system_clock_immutable
Browse files Browse the repository at this point in the history
Mark SystemClock as `@immutable`
  • Loading branch information
lcobucci authored Jun 13, 2023
2 parents e82e876 + b334621 commit bc3e7ab
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 bc3e7ab

Please sign in to comment.