mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -149,14 +149,13 @@ final class PaginatorTest extends KernelTestCase
|
||||
* @param int $totalItems
|
||||
* @param int $itemPerPage
|
||||
* @param int $currentPage
|
||||
* @param mixed $expectedHasNextPage
|
||||
* @dataProvider generateHasPreviousPage
|
||||
*/
|
||||
public function testHasPreviousPage(
|
||||
$totalItems,
|
||||
$itemPerPage,
|
||||
$currentPage,
|
||||
$expectedHasNextPage
|
||||
mixed $expectedHasNextPage
|
||||
) {
|
||||
$paginator = $this->generatePaginator($totalItems, $itemPerPage, $currentPage);
|
||||
|
||||
@@ -215,15 +214,13 @@ final class PaginatorTest extends KernelTestCase
|
||||
/**
|
||||
* @param int $itemPerPage
|
||||
* @param string $route
|
||||
* @param mixed $totalItems
|
||||
* @param mixed $currentPageNumber
|
||||
*
|
||||
* @return Paginator
|
||||
*/
|
||||
protected function generatePaginator(
|
||||
$totalItems,
|
||||
mixed $totalItems,
|
||||
$itemPerPage,
|
||||
$currentPageNumber = 1,
|
||||
mixed $currentPageNumber = 1,
|
||||
$route = '',
|
||||
array $routeParameters = []
|
||||
) {
|
||||
|
Reference in New Issue
Block a user