user(); abort_if($user === null, 401); $stats = $statistics->forUser($user); return view('admin.dashboard', [ 'totalPages' => $stats['total_pages'], 'totalSubscribers' => $stats['total_subscribers'], 'activePages' => $stats['active_pages'], ]); } }