From 7db70327236816cc67dcf82ec341b95f8f4fa036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sun, 23 Aug 2026 19:33:15 +0200 Subject: [PATCH] Type time zone input --- src/LocalizedClock.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/LocalizedClock.php b/src/LocalizedClock.php index 1089df1..3933b56 100644 --- a/src/LocalizedClock.php +++ b/src/LocalizedClock.php @@ -19,10 +19,7 @@ final class LocalizedClock implements ClockInterface $this->timeZone = $timeZone; } - /** - * @param DateTimeZone|string $timeZone - */ - public static function in($timeZone): self + public static function in(DateTimeZone|string $timeZone): self { if (is_string($timeZone)) { try {