diff --git a/typo3/sysext/core/Documentation/Changelog/10.2/Feature-89603-IntroduceNativePaginationForLists.rst b/typo3/sysext/core/Documentation/Changelog/10.2/Feature-89603-IntroduceNativePaginationForLists.rst index 1828ded9e292f042cd5ebdee337154576a0c93e3..2e7ca03e31929a66681d506898cc96aa6c2d9a8e 100644 --- a/typo3/sysext/core/Documentation/Changelog/10.2/Feature-89603-IntroduceNativePaginationForLists.rst +++ b/typo3/sysext/core/Documentation/Changelog/10.2/Feature-89603-IntroduceNativePaginationForLists.rst @@ -44,7 +44,7 @@ Code-Example for the :php:`ArrayPaginator`: $paginator = new ArrayPaginator($itemsToBePaginated, $currentPageNumber, $itemsPerPage); $paginator->getNumberOfPages(); // returns 3 $paginator->getCurrentPageNumber(); // returns 3, basically just returns the input value - $paginator->getKeyOfFirstPaginatedItem(); // returns 5 - $paginator->getKeyOfLastPaginatedItem(); // returns 5 + $paginator->getKeyOfFirstPaginatedItem(); // returns 4 + $paginator->getKeyOfLastPaginatedItem(); // returns 4 .. index:: PHP-API, ext:core