Skip to content

Commit c9f5cc7

Browse files
Work around where empty lists are missing from responses (#1621)
1 parent 5f24b18 commit c9f5cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Result/DescribeEndpointsResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function populateResult(Response $response): void
2929
{
3030
$data = $response->toArray();
3131

32-
$this->endpoints = $this->populateResultEndpoints($data['Endpoints']);
32+
$this->endpoints = $this->populateResultEndpoints($data['Endpoints'] ?? []);
3333
}
3434

3535
private function populateResultEndpoint(array $json): Endpoint

0 commit comments

Comments
 (0)