This commit is contained in:
salam committed 2026-05-25 13:09:19 +02:00
1 parent ec9e380d33
commit 6e5889a390
1 file changed
+1
@@ -13,6 +13,7 @@ class LoadStatisticFixturesMatchOptions
} }
$res = StatisticFixtures::where('league_id', $league_id)->get(); $res = StatisticFixtures::where('league_id', $league_id)->get();
$arr = [];
foreach ($res as $val) { foreach ($res as $val) {
$arr[$val->id] = $val->home->name.' vs '.$val->away->name; $arr[$val->id] = $val->home->name.' vs '.$val->away->name;
} }