Skip to content

Commit 695722d

Browse files
mckenzieartsgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 6f894af commit 695722d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/BrevoService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function sendEmail(BrevoEmailMessage $email, array $options = []): ?array
4747
$email->from($options['emailFrom']);
4848
}
4949

50-
$templateResponse = $this->http->get('/smtp/templates/'. $email->templateId);
50+
$templateResponse = $this->http->get('/smtp/templates/' . $email->templateId);
5151

5252
if (! $templateResponse->successful()) {
5353
throw new BrevoException($templateResponse->toPsrResponse());

tests/BrevoEmailChannelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$mock = $this->mock(BrevoService::class)->shouldReceive('sendEmail')->once();
1313
$channel = new BrevoEmailChannel($mock->getMock());
1414

15-
$channel->send(new User(), new class extends Notification
15+
$channel->send(new User, new class extends Notification
1616
{
1717
public function via()
1818
{
@@ -21,7 +21,7 @@ public function via()
2121

2222
public function toBrevoEmail(User $notifiable): BrevoEmailMessage
2323
{
24-
return new BrevoEmailMessage();
24+
return new BrevoEmailMessage;
2525
}
2626
});
2727
});

tests/BrevoSmsChannelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
it('send notification via BrevoChannel should call BrevoService sendSms method', function () {
1313
$mock = $this->mock(BrevoService::class)->shouldReceive('sendSms')->once();
1414
$channel = new BrevoSmsChannel($mock->getMock());
15-
$channel->send(new User(), new class extends Notification
15+
$channel->send(new User, new class extends Notification
1616
{
1717
public function via()
1818
{
@@ -21,7 +21,7 @@ public function via()
2121

2222
public function toBrevoSms(Model $notifiable): BrevoSmsMessage
2323
{
24-
return new BrevoSmsMessage();
24+
return new BrevoSmsMessage;
2525
}
2626
});
2727
});

0 commit comments

Comments
 (0)