Type time zone input

This commit is contained in:
Jérôme Gamez
2026-08-23 19:33:15 +02:00
parent 8f5274748c
commit 7db7032723
+1 -4
View File
@@ -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 {