Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim authored and github-actions[bot] committed Apr 5, 2023
1 parent e637b36 commit d9b6c79
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/Listeners/StoreMessageSending.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace CleaniqueCoders\MailHistory\Listeners;

use CleaniqueCoders\MailHistory\Models\MailHistory;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Events\MessageSending;
use Illuminate\Queue\InteractsWithQueue;

class StoreMessageSending
{
Expand Down Expand Up @@ -34,7 +32,7 @@ public function handle(MessageSending $event): void
'text-charset' => $event->message->getTextCharset(),
'html' => $event->message->getHtmlBody(),
'html-charset' => $event->message->getHtmlCharset(),
]
],
]);
}
}
2 changes: 0 additions & 2 deletions src/Listeners/StoreMessageSent.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace CleaniqueCoders\MailHistory\Listeners;

use CleaniqueCoders\MailHistory\Models\MailHistory;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Events\MessageSent;
use Illuminate\Queue\InteractsWithQueue;

class StoreMessageSent
{
Expand Down
1 change: 0 additions & 1 deletion src/MailHistoryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use CleaniqueCoders\MailHistory\Commands\MailHistoryCommand;

class MailHistoryServiceProvider extends PackageServiceProvider
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/MailHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MailHistory extends Model
use InteractsWithHash;

protected $guarded = [
'id'
'id',
];

protected $casts = [
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace CleaniqueCoders\MailHistory\Tests;

use CleaniqueCoders\MailHistory\MailHistoryServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use CleaniqueCoders\MailHistory\MailHistoryServiceProvider;

class TestCase extends Orchestra
{
Expand Down

0 comments on commit d9b6c79

Please sign in to comment.