wip add wfl
This commit is contained in:
1 parent
a125dddb4c
commit
bf5e06848a
17 files changed
+188
-43
No files matched your search
@@ -12,7 +12,7 @@ class ExpectationsMinMax
|
||||
* get min and max for each bettype from all DB for liga
|
||||
* make average
|
||||
*/
|
||||
$bets = ['crn', 'fls', 'ofs', 'crd', 'snt', 'tsh'];
|
||||
$bets = ['crn', 'fls', 'ofs', 'crd', 'snt', 'tsh', 'wfl'];
|
||||
$Y = 0.25;
|
||||
|
||||
$res = StatistikoEvent::where('league_id', $match->league_id)->get();
|
||||
@@ -43,6 +43,9 @@ class ExpectationsMinMax
|
||||
|
||||
$data['crd']['home'] += $val->crd_h;
|
||||
$data['crd']['away'] += $val->crd_a;
|
||||
|
||||
$data['wfl']['home'] += $val->wfl_h;
|
||||
$data['wfl']['away'] += $val->wfl_a;
|
||||
}
|
||||
|
||||
foreach ($data as $key => $value) {
|
||||
|
||||
Reference in new issue
Block a user