/** * nextRound * Returns false if there is no next round (you're in the championship round.) * Get the round that is one index higher than the current round. * * @param Round $round Current round. * @return Round */ public function nextRound(Round $round) { return Round::where('bracket_id', '=', $round->bracket()->first()->id)->where('index', '=', $round->index + 1)->first(); }