mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -110,17 +110,15 @@ final class PageTest extends KernelTestCase
|
||||
/**
|
||||
* @param int $itemPerPage
|
||||
* @param string $route
|
||||
* @param mixed $number
|
||||
* @param mixed $totalItems
|
||||
*
|
||||
* @return Page
|
||||
*/
|
||||
protected function generatePage(
|
||||
$number = 1,
|
||||
mixed $number = 1,
|
||||
$itemPerPage = 10,
|
||||
$route = 'route',
|
||||
array $routeParameters = [],
|
||||
$totalItems = 100
|
||||
mixed $totalItems = 100
|
||||
) {
|
||||
$urlGenerator = $this->prophet->prophesize();
|
||||
$urlGenerator->willImplement(UrlGeneratorInterface::class);
|
||||
|
Reference in New Issue
Block a user