Skip to content

Commit 048ae12

Browse files
authored
Add strict comparison null !== instead of ! (#1794)
1 parent 107504c commit 048ae12

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
## 2.2.0
610

711
### Added

src/Result/ListQueuesResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getQueueUrls(bool $currentPageOnly = false): iterable
7272
$page = $this;
7373
while (true) {
7474
$page->initialize();
75-
if ($page->nextToken) {
75+
if (null !== $page->nextToken) {
7676
$input->setNextToken($page->nextToken);
7777

7878
$this->registerPrefetch($nextPage = $client->listQueues($input));

0 commit comments

Comments
 (0)