Skip to content

Commit 8ee7c0e

Browse files
committed
Try fixing failing CI workflow
1 parent ff1926d commit 8ee7c0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/models/meet-events.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ protected function getDataFromApi(): array
6262
);
6363

6464
$data = $data->json();
65-
$data = array_filter($data, fn ($event) => $event['entity_type'] === 3);
65+
$data = array_filter(
66+
$data,
67+
fn ($event) => ($event['entity_type'] ?? null) === 3
68+
);
6669

6770
usort(
6871
$data,

0 commit comments

Comments
 (0)