Skip to content

Commit

Permalink
Work around where empty lists are missing from responses (#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Dec 8, 2023
1 parent b8538b6 commit a3f3749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Result/ExecuteStatementResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private function populateResultSqlRecords(array $json): array
{
$items = [];
foreach ($json as $item) {
$items[] = $this->populateResultFieldList($item);
$items[] = $this->populateResultFieldList($item ?? []);
}

return $items;
Expand Down

0 comments on commit a3f3749

Please sign in to comment.