Skip to content

Commit f655a1b

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

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.1.4
610

711
### Changed

src/Result/GetParametersByPathResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getParameters(bool $currentPageOnly = false): iterable
7070
$page = $this;
7171
while (true) {
7272
$page->initialize();
73-
if ($page->nextToken) {
73+
if (null !== $page->nextToken) {
7474
$input->setNextToken($page->nextToken);
7575

7676
$this->registerPrefetch($nextPage = $client->getParametersByPath($input));

0 commit comments

Comments
 (0)