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 37bec02 commit aeb0553
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.4.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Result/ListSecretsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getSecretList(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->listSecrets($input));
Expand Down

0 comments on commit aeb0553

Please sign in to comment.