Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 29, 2021
1 parent 545875f commit a274fc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/View/Compilers/BladeCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ public function compile($path = null)
$contents = $this->appendFilePath($contents);
}

$compiledPath = $this->getCompiledPath($this->getPath());

$this->ensureCompiledDirectoryExists($compiledPath);
$this->ensureCompiledDirectoryExists(
$compiledPath = $this->getCompiledPath($this->getPath())
);

$this->files->put($compiledPath, $contents);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/View/Compilers/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function isExpired($path)
}

/**
* Create the file compiled directory if necessary.
* Create the compiled file directory if necessary.
*
* @param string $path
* @return void
Expand Down

0 comments on commit a274fc7

Please sign in to comment.