wip player performance
This commit is contained in:
1 parent
fcbf718492
commit
37d28eec21
12 files changed
+214
-207
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user