1
0
mirror of https://github.com/flarum/core.git synced 2025-08-15 04:44:08 +02:00

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
luceos
2021-04-20 23:51:17 +00:00
committed by StyleCI Bot
parent 008206738f
commit 3a1803ee0f
3 changed files with 29 additions and 33 deletions

View File

@@ -12,7 +12,6 @@ namespace Flarum\Frontend\Compiler;
use axy\sourcemap\SourceMap;
use Flarum\Frontend\Compiler\Source\FileSource;
use Flarum\Frontend\Compiler\Source\FolderSource;
use Illuminate\Support\Arr;
class JsCompiler extends RevisionCompiler
{
@@ -58,9 +57,7 @@ class JsCompiler extends RevisionCompiler
}
}
}
} else {
if ($source instanceof FileSource) {
$sourceMap = $source->getPath().'.map';

View File

@@ -203,7 +203,6 @@ class RevisionCompiler implements CompilerInterface
*/
protected function putFile(string $location, $cacheDifferentiator, $content)
{
if ($this->assetsDir->has(static::REV_MANIFEST)) {
$manifest = json_decode($this->assetsDir->read(static::REV_MANIFEST), true);
} else {