wip sudamerica comppa e ueva coppas
This commit is contained in:
1 parent
b20fcb0034
commit
54bbb420ec
5 files changed
+14
-5
No files matched your search
@@ -10,12 +10,11 @@ class Expectation1X2
|
||||
public static function load(array &$expectations, array $filter, object $match)
|
||||
{
|
||||
$team_id = (int) $filter['team_id'] ?? 0;
|
||||
$home_id = $match->home_id;
|
||||
$away_id = $match->away_id;
|
||||
|
||||
$res_tp = LoadEventsQueryTP::load($filter, $match);
|
||||
|
||||
$count_tp = $res_tp->count();
|
||||
|
||||
$expectations['count_events'] = $count_tp;
|
||||
|
||||
$expectations += ['win_count' => 0, 'draw_count' => 0, 'lost_count' => 0];
|
||||
|
||||
Reference in new issue
Block a user