Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
askvortsov1 authored and StyleCIBot committed Mar 23, 2021
1 parent fac4b0b commit c086723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Extension/ExtensionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
use Flarum\Settings\SettingsRepositoryInterface;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Filesystem\Factory;
use Illuminate\Contracts\Filesystem\Cloud as FilesystemInterface;
use Illuminate\Contracts\Filesystem\Factory;
use Illuminate\Database\ConnectionInterface;
use Illuminate\Database\Schema\Builder;
use Illuminate\Filesystem\Filesystem;
Expand Down Expand Up @@ -273,7 +273,7 @@ protected function unpublishAssets(Extension $extension)
{
$this->assetsFilesystem->deleteDirectory('extensions/'.$extension->getId());
}

/**
* Get the path to an extension's published asset.
*
Expand Down
3 changes: 1 addition & 2 deletions src/Foundation/Console/AssetsPublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ protected function configure()
*/
protected function fire()
{

$this->info('Publishing core assets...');

$target = $this->container->make('filesystem')->disk('flarum-assets');
Expand All @@ -75,7 +74,7 @@ protected function fire()

foreach ($extensions->getEnabledExtensions() as $name => $extension) {
if ($extension->hasAssets()) {
$this->info('Publishing for extension: ' . $name);
$this->info('Publishing for extension: '.$name);
$extension->copyAssetsTo($target);
}
}
Expand Down

0 comments on commit c086723

Please sign in to comment.