Skip to content

Commit

Permalink
Fix Code Style
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim committed Nov 28, 2024
1 parent b252c4f commit bedb773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/Console/Commands/TestSendMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

use App\Mail\DefaultMail;
use Illuminate\Console\Command;
use Illuminate\Mail\Message;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Support\Facades\Mail;

class TestSendMail extends Command
Expand Down Expand Up @@ -33,7 +31,7 @@ public function handle()
$email = $this->argument('email');
$name = str($this->argument('email'))->before('@')->title()->toString();

if($this->option('queue')) {
if ($this->option('queue')) {
$mail->onQueue($this->option('queue'));
}

Expand Down
3 changes: 1 addition & 2 deletions app/Mail/DefaultMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -39,7 +38,7 @@ public function content(): Content
return new Content(
markdown: 'mail.default-mail',
with: [
'message' => $this->message
'message' => $this->message,
]
);
}
Expand Down

0 comments on commit bedb773

Please sign in to comment.