fix(seeder): format arrow function for better readability in OutletSeeder
This commit is contained in:
parent
ed947361ab
commit
0299ed8a74
@ -50,7 +50,7 @@ public function run(): void
|
|||||||
'opened_date' => now()->toDateString(),
|
'opened_date' => now()->toDateString(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$hours = collect(Day::cases())->map(fn($day) => [
|
$hours = collect(Day::cases())->map(fn ($day) => [
|
||||||
'outlet_id' => $outlet->id,
|
'outlet_id' => $outlet->id,
|
||||||
'day' => $day->value,
|
'day' => $day->value,
|
||||||
'open_time' => '09:00:00',
|
'open_time' => '09:00:00',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user