Skip to content

Commit 5ecbb87

Browse files
committed
Apply fixes from StyleCI
1 parent 2577300 commit 5ecbb87

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/Integration/Mail/SentMessageMailTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testDispatchesNotificationSent()
3131

3232
Event::listen(
3333
NotificationSent::class,
34-
function(NotificationSent $notification) use (&$notificationWasSent, $user) {
34+
function (NotificationSent $notification) use (&$notificationWasSent, $user) {
3535
$notificationWasSent = true;
3636
/**
3737
* Confirm that NotificationSent can be serialized/unserialized as
@@ -43,7 +43,7 @@ function(NotificationSent $notification) use (&$notificationWasSent, $user) {
4343
$this->assertTrue($user->is($afterSerialization->notifiable));
4444

4545
$this->assertEqualsCanonicalizing($notification->notification, $afterSerialization->notification);
46-
});
46+
});
4747

4848
$user->notify(new SentMessageMailNotification());
4949

@@ -58,7 +58,6 @@ class SentMessageUser extends Model
5858
public $timestamps = false;
5959
}
6060

61-
6261
class SentMessageMailNotification extends Notification
6362
{
6463
public function via(): array
@@ -70,7 +69,7 @@ public function toMail(object $notifiable): MailMessage
7069
{
7170
return (new MailMessage)
7271
->line('Example notification with attachment.')
73-
->attach(__DIR__ . '/Fixtures/blank_document.pdf', [
72+
->attach(__DIR__.'/Fixtures/blank_document.pdf', [
7473
'as' => 'blank_document.pdf',
7574
'mime' => 'application/pdf',
7675
]);

0 commit comments

Comments
 (0)