Skip to content

Commit 2683ada

Browse files
authored
fix: datetime type in distribution/index.md
1 parent 2e98545 commit 2683ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Modify these files as described in these patches:
396396

397397
/** The publication date of this book. */
398398
+ #[ORM\Column]
399-
public ?\DateTimeInterface $publicationDate = null;
399+
public ?\DateTimeImmutable $publicationDate = null;
400400

401401
/** @var Review[] Available reviews for this book. */
402402
+ #[ORM\OneToMany(targetEntity: Review::class, mappedBy: 'book', cascade: ['persist', 'remove'])]

0 commit comments

Comments
 (0)