src/Repositories/Corporation/Divisions.php
public function getCorporationDivisions(int $corporation_id): Collection
    {

        return CorporationDivision::where('corporation_id', $corporation_id)
            ->where('type', 'hangar')
            ->orderBy('division')
            ->get();
    }
public function getCorporationDivisions(int $corporation_id): Collection
    {

        return CorporationDivision::where('corporation_id', $corporation_id)
            ->where('type', 'hangar')
            ->orderBy('division')
            ->get();
    }
public function getCorporationDivisions ( int $ corporation_id ) : Collection { return CorporationDivision :: where ( 'corporation_id' , $ corporation_id ) -> where ( 'type' , 'hangar' ) -> orderBy ( 'division' ) -> get ( ) ; }
Return the Divisions for a Corporation.

@param int $corporation_id

@return \Illuminate\Support\Collection
Return the Divisions for a Corporation .