wip
This commit is contained in:
1 parent
2e9a98a4e4
commit
527280a670
2 files changed
+6
-1
No files matched your search
@@ -33,11 +33,14 @@ class HelperMoveingAveragePerformens
|
||||
// get first value in array and copy it to start if start is null
|
||||
$arr[0] = current(array_filter($arr));
|
||||
}
|
||||
$priv = 0;
|
||||
foreach ($arr as $key => $value) {
|
||||
if ($value) {
|
||||
$priv = $value;
|
||||
} else {
|
||||
$arr[$key] = $priv;
|
||||
if ($priv) {
|
||||
$arr[$key] = $priv;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@ class LoadPerformance
|
||||
}
|
||||
}
|
||||
|
||||
// dd($away_matches);
|
||||
|
||||
$res = StatistikoPlayer::whereIn('match_id', $home_matches)->select('match_id', 'minutes_played', 'playerrating_value', 'player_position')->get();
|
||||
$homes = self::filterMatches($res, $home_matches);
|
||||
|
||||
|
||||
Reference in new issue
Block a user