Skip to content

Commit 1ed6ad8

Browse files
author
Christian Kolb
committed
Simplyfy return
1 parent 810e6fa commit 1ed6ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ private function toDateTimeImmutable(): \DateTimeImmutable
414414

415415
public function day(): Day
416416
{
417-
return Day::fromDateTime($this->toDateTimeImmutable());
417+
return $this->day;
418418
}
419419

420420
/**

0 commit comments

Comments
 (0)