declaration->title ?? 'Sans titre'), ); } public function content(): Content { return new Content( markdown: 'emails.nudge-notification', with: [ 'senderName' => $this->sender->name, 'clientName' => $this->declaration->client?->name, 'declarationType' => $this->declaration->type?->value, 'dueDate' => $this->declaration->due_date?->format('d/m/Y'), 'url' => route('declarations.show', $this->declaration), 'firmName' => $this->declaration->workspace?->name, ] ); } }