Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Oct 13, 2024
1 parent 34cd955 commit 0984afc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Console/Commands/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
namespace MoonShine\OAG\Console\Commands;

use Illuminate\Console\Command;

use function Laravel\Prompts\info;
use function Laravel\Prompts\progress;

use MoonShine\Contracts\Core\DependencyInjection\CoreContract;
use MoonShine\Contracts\UI\FieldContract;
use MoonShine\Laravel\Fields\Relationships\BelongsTo;
Expand All @@ -15,9 +19,6 @@
use MoonShine\UI\Fields\Password;
use Symfony\Component\Console\Attribute\AsCommand;

use function Laravel\Prompts\info;
use function Laravel\Prompts\progress;

#[AsCommand(name: 'oag:generate')]
final class GenerateCommand extends Command
{
Expand All @@ -31,7 +32,7 @@ public function handle(): int
progress(
label: 'Loading',
steps: $this->core->getResources()->count(),
callback: fn() => $this->build(),
callback: fn () => $this->build(),
hint: '...'
);

Expand Down

0 comments on commit 0984afc

Please sign in to comment.