Skip to content

Commit defcf0f

Browse files
committed
wip
1 parent fae716c commit defcf0f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

phpstan-baseline.neon

+5
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ parameters:
44
message: "#^Parameter \\#1 \\$message of static method Symfony\\\\Component\\\\Mime\\\\MessageConverter\\:\\:toEmail\\(\\) expects Symfony\\\\Component\\\\Mime\\\\Message, Symfony\\\\Component\\\\Mime\\\\RawMessage given\\.$#"
55
count: 1
66
path: src/MicrosoftGraphTransport.php
7+
8+
-
9+
message: "#^Parameter \\#2 \\$html of method InnoGE\\\\LaravelMsGraphMail\\\\MicrosoftGraphTransport\\:\\:prepareAttachments\\(\\) expects string\\|null, resource\\|string\\|null given\\.$#"
10+
count: 1
11+
path: src/MicrosoftGraphTransport.php

src/MicrosoftGraphTransport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function doSend(SentMessage $message): void
3434
$email = MessageConverter::toEmail($message->getOriginalMessage());
3535
$envelope = $message->getEnvelope();
3636

37-
$html = (string) $email->getHtmlBody();
37+
$html = $email->getHtmlBody();
3838

3939
[$attachments, $html] = $this->prepareAttachments($email, $html);
4040

0 commit comments

Comments
 (0)