app/Statistics/Repository/FamilyRepository.php
public function topTenLargestFamilyList(int $total = 10): string
    {
        $records = $this->topTenFamilyQuery($total);

        return view('statistics/families/top10-list', [
            'records' => $records,
        ]);
    }
public function topTenLargestFamilyList(int $total = 10): string
    {
        $records = $this->topTenFamilyQuery($total);

        return view('statistics/families/top10-list', [
            'records' => $records,
        ]);
    }
public function topTenLargestFamilyList ( int $ total = 10 ) : string { $ records = $ this -> topTenFamilyQuery ( $ total ) ; return view ( 'statistics/families/top10-list' , [ 'records' => $ records , ] ) ; }
Find the families with the most children.

@param int $total

@return string
Find the families with the most children .