init
All checks were successful
Deploy to Production / deploy (push) Successful in 14s

This commit is contained in:
珂珂
2024-11-15 16:26:06 +08:00
parent 793e8fda43
commit f2f90f06f7
6 changed files with 19 additions and 20 deletions

View File

@@ -3,7 +3,6 @@
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
@@ -11,12 +10,10 @@ use Illuminate\Queue\SerializesModels;
class HelloMail extends Mailable
{
use Queueable, SerializesModels;
use Queueable;
use SerializesModels;
public function __construct(protected $name)
{
//
}
public function __construct(protected $name) {}
public function envelope(): Envelope
{

View File

@@ -3,7 +3,6 @@
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
@@ -11,10 +10,7 @@ class HelloNotification extends Notification
{
use Queueable;
public function __construct(protected $name)
{
//
}
public function __construct(protected $name) {}
/**
* Get the notification's delivery channels.
@@ -47,7 +43,6 @@ class HelloNotification extends Notification
public function toArray(object $notifiable): array
{
return [
//
];
}
}