Skip to content

Commit 2599508

Browse files
committed
Merge 3.4
2 parents bf1d9fd + fb39884 commit 2599508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/State/Pagination/TraversablePaginatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testInitialize(
2626
float $totalItems,
2727
float $lastPage,
2828
int $currentItems,
29-
bool $hasNextPage,
29+
bool $hasNextPage = false,
3030
): void {
3131
$traversable = new \ArrayIterator($results);
3232

@@ -45,7 +45,7 @@ public function testInitialize(
4545
public static function initializeProvider(): array
4646
{
4747
return [
48-
'First of three pages of 3 items each' => [[0, 1, 2, 3, 4, 5, 6], 1, 3, 7, 3, 3],
48+
'First of three pages of 3 items each' => [[0, 1, 2, 3, 4, 5, 6], 1, 3, 7, 3, 3, true],
4949
'Second of two pages of 3 items for the first page and 2 for the second' => [[0, 1, 2, 3, 4], 2, 3, 5, 2, 2],
5050
'Empty results' => [[], 1, 2, 0, 1, 0],
5151
'0 items per page' => [[0, 1, 2, 3], 1, 0, 4, 1, 4],

0 commit comments

Comments
 (0)