mirror of
https://github.com/flarum/core.git
synced 2025-10-11 23:14:29 +02:00
Applied fixes from StyleCI
This commit is contained in:
@@ -104,7 +104,7 @@ class RevisionCompiler implements CompilerInterface
|
||||
*/
|
||||
protected function getCacheDifferentiator()
|
||||
{
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -189,7 +189,7 @@ class RevisionCompiler implements CompilerInterface
|
||||
|
||||
$ext = pathinfo($this->filename, PATHINFO_EXTENSION);
|
||||
|
||||
$file = $this->path . '/' . substr_replace($this->filename, '-' . $revision, -strlen($ext) - 1, 0);
|
||||
$file = $this->path.'/'.substr_replace($this->filename, '-'.$revision, -strlen($ext) - 1, 0);
|
||||
|
||||
if (file_exists($file)) {
|
||||
unlink($file);
|
||||
|
Reference in New Issue
Block a user