isContentRemoved ? 'has been removed following our investigation.' : 'will remain active as it was found to be in compliance with our guidelines.'; return (new MailMessage) ->subject('Update on Your Recent Report: '.$this->dealTitle) ->greeting('Hello!') ->line('Thank you for helping us maintain the integrity of our marketplace.') ->line("We have completed our review of the deal you reported: **{$this->dealTitle}**.") ->line("Based on our moderation policy, the content {$outcome}") ->action('View Marketplace', route('explore')) ->line('Your feedback helps make our community a safer place for everyone.'); } public function toArray($notifiable): array { return [ 'report_outcome' => $this->isContentRemoved ? 'violation_confirmed' : 'no_violation_found', 'deal_title' => $this->dealTitle, ]; } }