public function competitorsWithBye(): Collection
    {
        $competitors = new Collection();
        $fgcs = FighterGroupCompetitor::where('fighters_group_id', $this->id)
            ->with('competitor')
            ->get();

        foreach ($fgcs as $fgc) {
            $competitors->push($fgc->competitor ?? new Competitor());
        }

        return $competitors;
    }
public function competitorsWithBye(): Collection
    {
        $competitors = new Collection();
        $fgcs = FighterGroupCompetitor::where('fighters_group_id', $this->id)
            ->with('competitor')
            ->get();

        foreach ($fgcs as $fgc) {
            $competitors->push($fgc->competitor ?? new Competitor());
        }

        return $competitors;
    }
public function competitorsWithBye ( ) : Collection { $ competitors = new Collection ( ) ; $ fgcs = FighterGroupCompetitor :: where ( 'fighters_group_id' , $ this -> id ) -> with ( 'competitor' ) -> get ( ) ; foreach ( $ fgcs as $ fgc ) { $ competitors -> push ( $ fgc -> competitor ?? new Competitor ( ) ) ; } return $ competitors ; }
Get the many 2 many relationship with the Null Rows.

@return Collection
Get the many 2 many relationship with the Null Rows .