#89754Follow-Up: Introduce native pagination for lists
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.