Skip to content

Commit 95fce9f

Browse files
committed
Cleanup return statements
1 parent cb751e8 commit 95fce9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Records.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ public function next()
115115
++$this->position;
116116

117117
if ($this->position > $this->numberOfRecords()) {
118-
return null;
118+
return;
119119
}
120120

121121
if (count($this->data) == 0) {
122122
$this->fetchMore();
123123
}
124124

125125
if (count($this->data) == 0) {
126-
return null;
126+
return;
127127
}
128128
}
129129

0 commit comments

Comments
 (0)