mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-25 11:53:31 +02:00
Fix phpstan
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user