Skip to content
Permalink
Browse files

rename variable

  • Loading branch information
taylorotwell committed Dec 11, 2019
1 parent 9b695c9 commit 2206d5223606f5a24e7e3bf0ba1f25b343dfcc6b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Illuminate/Mail/Markdown.php
@@ -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()
));
}

0 comments on commit 2206d52

Please sign in to comment.
You can’t perform that action at this time.