Skip to content

Commit

Permalink
Fix phpDoc param typehint for setters in Cursor class (#463)
Browse files Browse the repository at this point in the history
Change typehints in the phpDoc for the setters to match CursorInterface types.
  • Loading branch information
mdarc authored and KorvinSzanto committed Jul 4, 2019
1 parent ecf884e commit e03925f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Pagination/Cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function getCurrent()
/**
* Set the current cursor value.
*
* @param int $current
* @param mixed $current
*
* @return Cursor
*/
Expand All @@ -102,7 +102,7 @@ public function getPrev()
/**
* Set the prev cursor value.
*
* @param int $prev
* @param mixed $prev
*
* @return Cursor
*/
Expand All @@ -126,7 +126,7 @@ public function getNext()
/**
* Set the next cursor value.
*
* @param int $next
* @param mixed $next
*
* @return Cursor
*/
Expand Down

0 comments on commit e03925f

Please sign in to comment.