Skip to content

Commit

Permalink
Add strict comparison null !== instead of ! (#1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse authored Nov 12, 2024
1 parent 107504c commit 048ae12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Changed

- use strict comparison `null !==` instead of `!`

## 2.2.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Result/ListQueuesResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getQueueUrls(bool $currentPageOnly = false): iterable
$page = $this;
while (true) {
$page->initialize();
if ($page->nextToken) {
if (null !== $page->nextToken) {
$input->setNextToken($page->nextToken);

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

0 comments on commit 048ae12

Please sign in to comment.