Skip to content

Commit 4bc8611

Browse files
bugfix
1 parent fc3a2ab commit 4bc8611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct($result)
4040
$data = json_decode($set->serializeToJsonString(), true);
4141

4242
$this->fillColumns($data['columns']);
43-
$this->fillRows($data['rows']);
43+
$this->fillRows($data['rows'] ?? []);
4444
$this->truncated = $data['truncated'] ?? false;
4545
}
4646
}

0 commit comments

Comments
 (0)