From e03925f249c40b3b90b09c55aae4c8200e680dba Mon Sep 17 00:00:00 2001 From: Mariano Darc Date: Thu, 4 Jul 2019 23:46:09 +0200 Subject: [PATCH] Fix phpDoc param typehint for setters in Cursor class (#463) Change typehints in the phpDoc for the setters to match CursorInterface types. --- src/Pagination/Cursor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Pagination/Cursor.php b/src/Pagination/Cursor.php index f267e538..90ca1614 100644 --- a/src/Pagination/Cursor.php +++ b/src/Pagination/Cursor.php @@ -78,7 +78,7 @@ public function getCurrent() /** * Set the current cursor value. * - * @param int $current + * @param mixed $current * * @return Cursor */ @@ -102,7 +102,7 @@ public function getPrev() /** * Set the prev cursor value. * - * @param int $prev + * @param mixed $prev * * @return Cursor */ @@ -126,7 +126,7 @@ public function getNext() /** * Set the next cursor value. * - * @param int $next + * @param mixed $next * * @return Cursor */