Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 12, 2023
1 parent 62bac8b commit 51dbc37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Illuminate/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,9 @@ public function render($view, array $data = [])

$data['message'] = $this->createMessage();

$renderedView = $this->renderView($view ?: $plain, $data);

return $this->replaceEmbeddedAttachments(
$renderedView, $data['message']->getSymfonyMessage()->getAttachments()
$this->renderView($view ?: $plain, $data),
$data['message']->getSymfonyMessage()->getAttachments()
);
}

Expand Down

0 comments on commit 51dbc37

Please sign in to comment.