Skip to content

Commit

Permalink
Fix Class Naming Pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
takielias committed Oct 26, 2024
1 parent e3a4b59 commit a82fa72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Commands/AimAdminCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Str;
use Symfony\Component\Console\Input\InputArgument;

class AimAdminCommand extends Command
Expand Down Expand Up @@ -44,7 +45,7 @@ public function handle()
$allowMultipleSelections = true
);

$name = $this->ask("What is the name ?", 'Product');
$name = Str::studly($this->ask("What is the name ?", 'Product'));

foreach ($types as $type) {
switch ($type) {
Expand Down

0 comments on commit a82fa72

Please sign in to comment.