Skip to content

Commit a3f3749

Browse files
Work around where empty lists are missing from responses (#1621)
1 parent b8538b6 commit a3f3749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Result/ExecuteStatementResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private function populateResultSqlRecords(array $json): array
251251
{
252252
$items = [];
253253
foreach ($json as $item) {
254-
$items[] = $this->populateResultFieldList($item);
254+
$items[] = $this->populateResultFieldList($item ?? []);
255255
}
256256

257257
return $items;

0 commit comments

Comments
 (0)