Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 11, 2019
1 parent 9b695c9 commit 2206d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Mail/Markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ public function render($view, array $data = [], $inliner = null)
'mail', $this->htmlComponentPaths()
)->make($view, $data)->render();

$viewPath = Str::contains($this->theme, '::')
$theme = Str::contains($this->theme, '::')
? $this->theme
: 'mail::themes.'.$this->theme;

return new HtmlString(($inliner ?: new CssToInlineStyles)->convert(
$contents, $this->view->make($viewPath, $data)->render()
$contents, $this->view->make($theme, $data)->render()
));
}

Expand Down

0 comments on commit 2206d52

Please sign in to comment.