public function parseMatchesRank($matches)
{
$mode = $this->stringMode($matches['mode']);
if ($mode === null) {
return $this->parseFailure();
}
return ['scoreRank' => $matches['scoreRank'], 'rank' => intval($matches['rank']), 'mode' => $mode, 'beatmap' => $this->arrayBeatmap($matches), 'user' => $this->arrayUser($matches)];
}