@php
if (!isset($notification->data['subject'])) {
$ticketReply = \App\Models\Ticket::find($notification->data['id']);
$subject = $ticketReply->ticket->subject;
} else {
$subject = $notification->data['subject'];
}
$notificationUser = \App\Models\User::findOrFail($notification->data['user_id']);
@endphp