Skip to content

Commit c52907f

Browse files
authored
Add strict comparison null !== instead of ! (#1794)
1 parent a9aacd0 commit c52907f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- AWS api-change: This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs.
88

9+
### Changed
10+
11+
- use strict comparison `null !==` instead of `!`
12+
913
## 2.0.4
1014

1115
### Changed

src/Result/QueryResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getRows(bool $currentPageOnly = false): iterable
139139
$page = $this;
140140
while (true) {
141141
$page->initialize();
142-
if ($page->nextToken) {
142+
if (null !== $page->nextToken) {
143143
$input->setNextToken($page->nextToken);
144144

145145
$this->registerPrefetch($nextPage = $client->query($input));

0 commit comments

Comments
 (0)