Pint
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class CommentNotification extends Notification
|
||||
@@ -12,7 +10,9 @@ class CommentNotification extends Notification
|
||||
use Queueable;
|
||||
|
||||
protected $type;
|
||||
|
||||
protected $message;
|
||||
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
@@ -38,9 +38,9 @@ class CommentNotification extends Notification
|
||||
public function toDatabase($notifiable)
|
||||
{
|
||||
return [
|
||||
'type' => $this->type,
|
||||
'message' => $this->message,
|
||||
'url' => $this->url,
|
||||
'type' => $this->type,
|
||||
'message' => $this->message,
|
||||
'url' => $this->url,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user