Skip to content

Commit 183263f

Browse files
authored
Add strict comparison null !== instead of ! (#1794)
1 parent 28c8540 commit 183263f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- use strict comparison `null !==` instead of `!`
8+
59
## 3.1.0
610

711
### Added

src/Result/ListStreamConsumersOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function getConsumers(bool $currentPageOnly = false): iterable
6262
$page = $this;
6363
while (true) {
6464
$page->initialize();
65-
if ($page->nextToken) {
65+
if (null !== $page->nextToken) {
6666
$input->setNextToken($page->nextToken);
6767

6868
$this->registerPrefetch($nextPage = $client->listStreamConsumers($input));

0 commit comments

Comments
 (0)