Fix phpstan

This commit is contained in:
slawkens
2026-04-24 20:36:56 +02:00
parent ac9a328206
commit 54bdea85a3
3 changed files with 8 additions and 3 deletions

View File

@@ -210,10 +210,13 @@ if (empty($highscores)) {
}
$highscores = $query->get()->map(function($row) {
/**
* @var Player $row
*/
$tmp = $row->toArray();
$tmp['online'] = $row->online_status;
$tmp['vocation'] = $row->vocation_name;
$tmp['outfit_url'] = $row->outfit_url; // @phpstan-ignore-line
$tmp['outfit_url'] = $row->outfit_url;
$tmp['link'] = getPlayerLink($row->name, false);
unset($tmp['online_table']);