Issue Task Closed

#89754Follow-Up: Introduce native pagination for lists

Alexander Schnitzler 11/23/19, 14:39 updated 12/23/19, 22:44

Description

- Switch the order of constructor arguments $currentPageNumber
and $itemsPerPage of both the ArrayPaginator and QueryResultPaginator
classes as the $currentPageNumber needs to be set on every object
construction whereas the $itemsPerPage argument only needs to be
changed for paginators that use a differen amount of items per page
other than the default of 10.
- Change visibility of properties of both the ArrayPaginator and the
QueryResultPaginator from protected to private as both classes are
marked final.

Reviews 1