fix(#12): correct mispelled word recipe

fix(#12): correct mispelled word recipe
This commit is contained in:
Benjamin Nussbaum 2025-04-26 12:06:44 +02:00
parent 302730c81e
commit f530875210
17 changed files with 93 additions and 46 deletions

View file

@ -1,20 +0,0 @@
<?php
namespace App\Console\Commands;
use Database\Seeders\ExampleReceiptsSeeder;
use Illuminate\Console\Command;
use Illuminate\Contracts\Console\PromptsForMissingInput;
class ExampleReceiptsSeederCommand extends Command implements PromptsForMissingInput
{
protected $signature = 'receipts:seed {user_id}';
protected $description = 'Seed example receipts';
public function handle(ExampleReceiptsSeeder $seeder): void
{
$user_id = $this->argument('user_id');
$seeder->run($user_id);
}
}

View file

@ -0,0 +1,20 @@
<?php
namespace App\Console\Commands;
use Database\Seeders\ExampleRecipesSeeder;
use Illuminate\Console\Command;
use Illuminate\Contracts\Console\PromptsForMissingInput;
class ExampleRecipesSeederCommand extends Command implements PromptsForMissingInput
{
protected $signature = 'recipes:seed {user_id}';
protected $description = 'Seed example recipes';
public function handle(ExampleRecipesSeeder $seeder): void
{
$user_id = $this->argument('user_id');
$seeder->run($user_id);
}
}