Fix serialization mismatch for project/domain fields in Mail and Certificate messages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
loks0nandClaude Sonnet 4.6 committed 2026-03-15 19:22:00 +00:00
1 parent 8888070c7c
commit 52628e44e5
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ readonly class Certificate extends Base
public function toArray(): array
{
return [
'project' => $this->project,
'domain' => $this->domain,
'project' => $this->project?->getArrayCopy(),
'domain' => $this->domain?->getArrayCopy(),
'skipRenewCheck' => $this->skipRenewCheck,
'validationDomain' => $this->validationDomain,
'action' => $this->action,
+1 -1
View File
@@ -26,7 +26,7 @@ readonly class Mail extends Base
public function toArray(): array
{
return [
'project' => $this->project,
'project' => $this->project?->getArrayCopy(),
'recipient' => $this->recipient,
'name' => $this->name,
'subject' => $this->subject,