From c7163789f3fcc41fb8394ae689ee1558bfa038dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Proch=C3=A1zka?= Date: Tue, 13 Feb 2024 20:23:00 +0100 Subject: [PATCH] Allow owner to be null --- src/RecordBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RecordBuilder.php b/src/RecordBuilder.php index 7baff91..656421f 100644 --- a/src/RecordBuilder.php +++ b/src/RecordBuilder.php @@ -115,7 +115,7 @@ public function withDate(DateTimeInterface $date): static } - public function withOwner(Identity $owner): static + public function withOwner(?Identity $owner): static { $this->record['owner'] = $owner; return $this;