style: Pint 포맷팅 적용
This commit is contained in:
@@ -208,7 +208,7 @@ public function index(Request $request): View|Response
|
||||
private function flattenTree($categories): \Illuminate\Support\Collection
|
||||
{
|
||||
$result = collect();
|
||||
$byParent = $categories->groupBy(fn($c) => $c->parent_id ?? 0);
|
||||
$byParent = $categories->groupBy(fn ($c) => $c->parent_id ?? 0);
|
||||
|
||||
$this->addChildrenRecursive($result, $byParent, 0, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user