logifuture
This commit is contained in:
1 parent
91ec9d11cc
commit
0e34020a01
22 files changed
+546
-442
No files matched your search
@@ -75,7 +75,7 @@ class Fixtures
|
||||
Notice::note("Page: $page \nTotal: $total");
|
||||
}
|
||||
|
||||
if (isset($data['results']) && count($data['results'])) {
|
||||
if (isset($data['results']) && \count($data['results'])) {
|
||||
|
||||
foreach ($data['results'] as $row) {
|
||||
|
||||
@@ -88,7 +88,7 @@ class Fixtures
|
||||
'sport_id' => (int) $sport_id,
|
||||
'provider_id' => (int) Nuh::$options['provider_id'],
|
||||
'starttime' => Carbon::createFromTimestamp((string) $row['time'])->toDateTimeString(),
|
||||
'country_id' => $cc != null ? $country_map[$cc] : 0,
|
||||
'country_id' => $country_map[$cc] ?? 0,
|
||||
'home' => $row['home']['name'] ?? '',
|
||||
'home_id' => (int) $row['home']['id'],
|
||||
'home_cc' => strtoupper($row['home']['cc']) ?? '',
|
||||
|
||||
Reference in new issue
Block a user