protected function getByeGroup($fighters)
    {
        $fighterCount = $fighters->count();
        $firstRoundGroupSize = $this->firstRoundGroupSize(); // Get the size of groups in the first round (2,3,4)
        // Max number of fighters for the first round
        $treeSize = $this->getTreeSize($fighterCount, $firstRoundGroupSize);
        $byeCount = $treeSize - $fighterCount;
        return $this->createByeGroup($byeCount);
    }
protected function getByeGroup($fighters)
    {
        $fighterCount = $fighters->count();
        $firstRoundGroupSize = $this->firstRoundGroupSize(); // Get the size of groups in the first round (2,3,4)
        // Max number of fighters for the first round
        $treeSize = $this->getTreeSize($fighterCount, $firstRoundGroupSize);
        $byeCount = $treeSize - $fighterCount;
        return $this->createByeGroup($byeCount);
    }
protected function getByeGroup ( $ fighters ) { $ fighterCount = $ fighters -> count ( ) ; $ firstRoundGroupSize = $ this -> firstRoundGroupSize ( ) ; // Get the size of groups in the first round (2,3,4) // Max number of fighters for the first round $ treeSize = $ this -> getTreeSize ( $ fighterCount , $ firstRoundGroupSize ) ; $ byeCount = $ treeSize - $ fighterCount ; return $ this -> createByeGroup ( $ byeCount ) ; }
Calculate the Byes needed to fill the Championship Tree.

@param $fighters

@return Collection
Calculate the Byes needed to fill the Championship Tree .