LeagueWrap\Api\League::challenger PHP Method

challenger() public method

Gets the league information for the challenger teams.
public challenger ( string $type = 'RANKED_SOLO_5x5' ) : array
$type string
return array
    public function challenger($type = 'RANKED_SOLO_5x5')
    {
        $info = $this->request('league/challenger', ['type' => $type]);
        $info['id'] = null;
        return $this->attachStaticDataToDto(new Dto\League($info));
    }