wip
This commit is contained in:
1 parent
ef8ade1814
commit
8f6beac89b
4 files changed
+14
-19
No files matched your search
@@ -56,7 +56,7 @@ class LoadPlayerPerformance
|
||||
$tmp = [];
|
||||
foreach ($matches_played as $value) {
|
||||
$val = $value->playerrating_value;
|
||||
$key = round($value->event->starttime->diffInDays(Carbon::now()));
|
||||
$key = $value->event ? round($value->event->starttime->diffInDays(Carbon::now())) : 0;
|
||||
$tmp["$key"] = $val;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user