wip average all bettype in boxes

This commit is contained in:
salam committed 2026-09-25 09:51:50 +02:00
1 parent 1a46e5d887
commit fe4fa6e9cf
16 files changed
+1010 -135

No files matched your search

@@ -0,0 +1,12 @@
<?php
namespace App\Filament\Widgets\Data\LoadEvents;
class ExpectationAverage
{
public static function filter(array &$result, string $type, string $bettype, float $val_home, float $val_away)
{
$result[$type][$bettype]['home'][] = (int) $val_home;
$result[$type][$bettype]['away'][] = (int) $val_away;
}
}