wip StatisticFixtures selection

This commit is contained in:
salam committed 2026-08-14 19:52:09 +02:00
1 parent 1dbdbcf586
commit 7d76f5bfc5
3 files changed
+12 -9

No files matched your search

@@ -7,10 +7,8 @@ use App\Models\StatistikoConfig;
class LoadExpectations
{
public static function load(array $data, int $match_id, string $statistic_type)
public static function load(array $data, object $match, string $statistic_type)
{
$match = StatisticFixtures::where('id', $match_id)->first();
$home_id = $match->home_id;
$away_id = $match->away_id;