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:
@@ -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';
|
||||
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user