The expression return $query->getQuery()->getResult() could return the type integer which is incompatible with the type-hinted return array. Consider adding an additional type-check to rule them out.
Loading history...
47
}
48
49
/**
50
* @param int|null $id
51
* @param array $options
52
* @return array
53
*/
54
public function getRankingMedals(int $id = null, array $options = []): array