diff --git a/src/Psl/Clock/PsrClock.php b/src/Psl/Clock/PsrClock.php index 48155e42..82d5e269 100644 --- a/src/Psl/Clock/PsrClock.php +++ b/src/Psl/Clock/PsrClock.php @@ -21,7 +21,6 @@ public function now(): DateTime\DateTimeInterface $timestamp = DateTime\Timestamp::fromParts($nativeDateTime->getTimestamp()); $timezone = $nativeDateTime->getTimezone(); - invariant($timezone !== false, 'Could not get the timezone object.'); $timezone = DateTime\Timezone::from($timezone->getName());