Skip to content

Commit

Permalink
Cleanup return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Jan 28, 2019
1 parent cb751e8 commit 95fce9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Records.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ public function next()
++$this->position;

if ($this->position > $this->numberOfRecords()) {
return null;
return;
}

if (count($this->data) == 0) {
$this->fetchMore();
}

if (count($this->data) == 0) {
return null;
return;
}
}

Expand Down

0 comments on commit 95fce9f

Please sign in to comment.