wip player performance

This commit is contained in:
salam committed 2026-06-02 15:39:50 +02:00
1 parent fcbf718492
commit 37d28eec21
12 files changed
+214 -207

No files matched your search

+4 -3
View File
@@ -48,9 +48,9 @@ class LoadEvents
if (! $match_id) {
return [];
}
if (! $team_id && $similar_past_matches == 'none') {
return [];
}
// if (! $team_id && $similar_past_matches == 'none') {
// return [];
// }
if ($statistic_type == 'none') {
$statistic_type = 'gls';
@@ -395,6 +395,7 @@ class LoadEvents
'results' => $results,
'home_team' => $home_team,
'away_team' => $away_team,
'similar_past_matches' => $similar_past_matches,
];
self::$last_query = $data;