wip
This commit is contained in:
1 parent
b90b057eb2
commit
eb682c311b
2 files changed
+12
-14
No files matched your search
@@ -14,8 +14,6 @@ class ExpectationsTeam
|
||||
/**
|
||||
* STATTISTIC DATA
|
||||
*/
|
||||
$league_id = (int) $filter['league_id'] ?? 0;
|
||||
$match_id = (int) $filter['match_id'] ?? 0;
|
||||
$team_id = (int) $filter['team_id'] ?? 0;
|
||||
$team_position = $filter['team_position'];
|
||||
$similar_past_matches = $filter['similar_past_matches'];
|
||||
@@ -57,7 +55,6 @@ class ExpectationsTeam
|
||||
$expectations += ['win_count' => 0, 'draw_count' => 0, 'lost_count' => 0];
|
||||
$count_events = 0;
|
||||
foreach ($res as $value) {
|
||||
// dd($value);
|
||||
if ($team_id && $team_position == 'home') {
|
||||
$count_events++;
|
||||
switch ($value['result_code']) {
|
||||
|
||||
Reference in new issue
Block a user