Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from bufferapp/cursor-fix
Browse files Browse the repository at this point in the history
Return type hints for Cursor.php fix
  • Loading branch information
Draom committed Mar 15, 2023
2 parents 1aaffcf + 4590591 commit e2ea035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookAds/Cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public function seekTo($position) {
$this->position = $position;
}

public function current() : AbstractObject|bool {
public function current() {
return isset($this->objects[$this->position])
? $this->objects[$this->position]
: false;
Expand Down

0 comments on commit e2ea035

Please sign in to comment.