Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Sep 5, 2024
1 parent b092a3f commit ea09e6e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions src/Laravel/src/Commands/PublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Illuminate\Filesystem\Filesystem;

use MoonShine\Laravel\DependencyInjection\MoonShine;
use function Laravel\Prompts\{confirm, info, multiselect};

use MoonShine\Core\Core;
use function Laravel\Prompts\{confirm, info, multiselect}
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'moonshine:publish')]
Expand Down
1 change: 0 additions & 1 deletion src/Laravel/src/DependencyInjection/AssetResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Composer\InstalledVersions;
use Illuminate\Support\Facades\Vite;
use MoonShine\Contracts\AssetManager\AssetResolverContract;
use MoonShine\Core\Core;

final class AssetResolver implements AssetResolverContract
{
Expand Down
2 changes: 0 additions & 2 deletions src/Laravel/src/Resources/MoonShineUserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
use MoonShine\Laravel\Fields\Relationships\BelongsTo;
use MoonShine\Laravel\Models\MoonshineUser;
use MoonShine\Laravel\Models\MoonshineUserRole;
use MoonShine\Support\AlpineJs;
use MoonShine\Support\Attributes\Icon;
use MoonShine\Support\Enums\Color;
use MoonShine\Support\Enums\JsEvent;
use MoonShine\Support\ListOf;
use MoonShine\UI\Components\Collapse;
use MoonShine\UI\Components\Layout\Box;
Expand Down
1 change: 0 additions & 1 deletion src/UI/src/Traits/Fields/UpdateOnPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use MoonShine\Support\AlpineJs;
use MoonShine\Support\Enums\HttpMethod;
use MoonShine\Support\Enums\JsEvent;
use MoonShine\UI\Fields\Text;
use MoonShine\UI\Sets\UpdateOnPreviewPopover;

trait UpdateOnPreview
Expand Down

0 comments on commit ea09e6e

Please sign in to comment.