v2.0.1
2.0.1 (2024-03-02)
Mostly small coding standard (CS) related changes, with some improvements to method docblocks throughout.
Changed
- Bumped version to
2.0.1
. - Small change to how
$pagesInRange
withinpaginate()
is determined. - (CS) Rearranged the order of methods within
Paginator
andPaginatorInterface
. - Made the following helper functions static:
determinePageRange()
determinePreviousPageNumber()
determineNextPageNumber()
- Updated
composer.lock
Added
- Added validation to
Paginator
's construct for the passed$config
parameter.- Uses a new helper function
validateConfig()
, which is a static protected method.
- Uses a new helper function
- Added some documentation/docblocks throughout, mostly to the
PaginatorInterface
. - Added
ext-pdo
andext-pdo_sqlite
to the composer require-dev. - Added the
Override
attribute toPaginator
methods that are fromPaginatorInterface
.
Removed
- None
Full Changelog: v2.0.0...v2.0.1