Skip to content

Commit fcd0e39

Browse files
authored
Add strict comparison null !== instead of ! (#1794)
1 parent 599088b commit fcd0e39

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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
## 1.1.3
610

711
### Changed

src/Result/ListScheduleGroupsOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getScheduleGroups(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->listScheduleGroups($input));

src/Result/ListSchedulesOutput.php

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

7777
$this->registerPrefetch($nextPage = $client->listSchedules($input));

0 commit comments

Comments
 (0)