diff --git a/app/Notifications/ThreadConvertedByCreator.php b/app/Notifications/ThreadConvertedByCreator.php index 89eb7b66..e2e62a27 100644 --- a/app/Notifications/ThreadConvertedByCreator.php +++ b/app/Notifications/ThreadConvertedByCreator.php @@ -13,7 +13,7 @@ final class ThreadConvertedByCreator extends Notification { use Queueable; - public function __construct(public Thread $thread) {} + public function __construct(protected Thread $thread) {} /** * Get the notification's delivery channels. @@ -31,7 +31,7 @@ public function via(object $notifiable): array public function toMail(object $notifiable): MailMessage { return (new MailMessage) - ->subject(__('pages/discussion.converted_by_creator')) + ->subject(__('pages/discussion.converted_by_creator.subject')) ->line(__('pages/discussion.converted_by_creator.converted_line')) ->line(__('pages/discussion.converted_by_creator.thread_title').$this->thread->title) ->action(__('pages/discussion.converted_by_creator.action_text'), route('forum.show', $this->thread))