Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 20, 2024
1 parent 422d196 commit 21e6d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Console/MailMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ protected function writeMarkdownTemplate()
protected function writeView()
{
$path = $this->viewPath(
str_replace('.', '/', $this->getView()) . '.blade.php'
str_replace('.', '/', $this->getView()).'.blade.php'
);

$this->files->ensureDirectoryExists(dirname($path));

$stub = str_replace(
'{{ quote }}',
Inspiring::quotes()->random(),
file_get_contents(__DIR__ . '/stubs/view.stub')
file_get_contents(__DIR__.'/stubs/view.stub')
);

$this->files->put($path, $stub);
Expand Down

0 comments on commit 21e6d31

Please sign in to comment.