src/Repositories/Corporation/Starbases.php
public function getCorporationStarbases(int $corporation_id, int $starbase_id = null)
    {

        return CorporationStarbase::where('corporation_id', $corporation_id)->get();
    }
public function getCorporationStarbases(int $corporation_id, int $starbase_id = null)
    {

        return CorporationStarbase::where('corporation_id', $corporation_id)->get();
    }
public function getCorporationStarbases ( int $ corporation_id , int $ starbase_id = null ) { return CorporationStarbase :: where ( 'corporation_id' , $ corporation_id ) -> get ( ) ; }
Return a list of starbases for a Corporation. If
a starbaseID is provided, then only data for that
starbase is returned.

@param int $corporation_id
@param int $starbase_id

@return Collection
Return a list of starbases for a Corporation . If a starbaseID is provided then only data for that starbase is returned .