Skip to content

Commit ab3b818

Browse files
committed
More updates and fixed PHPStan issues
1 parent 6acb6a3 commit ab3b818

File tree

2 files changed

+38
-37
lines changed

2 files changed

+38
-37
lines changed

composer.lock

+36-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Pagination/Paginator.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class Paginator
3232
private int $numResults;
3333

3434
/**
35-
* @var \Traversable<int, object>
35+
* @var \Traversable<array-key, object>
3636
*/
3737
private \Traversable $results;
3838

@@ -59,6 +59,7 @@ public function paginate(int $page = 1): self
5959
$query->setHint(CountWalker::HINT_DISTINCT, false);
6060
}
6161

62+
/** @var DoctrinePaginator<object> $paginator */
6263
$paginator = new DoctrinePaginator($query, true);
6364

6465
/** @var array<string, mixed> $havingDqlParts */

0 commit comments

Comments
 (0)