wip
This commit is contained in:
1 parent
c394f7afba
commit
44af3f2caa
21 files changed
+222
-151
No files matched your search
@@ -15,7 +15,6 @@ class LoadPerformance
|
||||
|
||||
public static function load(array $filter, bool $hasdots)
|
||||
{
|
||||
// dd($filter);
|
||||
|
||||
$league_id = (int) $filter['league_id'] ?? 0;
|
||||
|
||||
@@ -34,8 +33,12 @@ class LoadPerformance
|
||||
|
||||
$match = StatisticFixtures::with('home')->with('away')->where('id', $match_id)->first();
|
||||
|
||||
$home_id = $match->home_id;
|
||||
$away_id = $match->away_id;
|
||||
if (! $match) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$home_id = $match->home_id ?? 0;
|
||||
$away_id = $match->away_id ?? 0;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user