Skip to content

Commit 3cc3abc

Browse files
committed
minor #1276 Add types (seb-jean)
This PR was merged into the main branch. Discussion ---------- Add types Commits ------- c344c0d Update Paginator.php
2 parents 1a7777f + c344c0d commit 3cc3abc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Pagination/Paginator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ class Paginator
2828
*/
2929
public const PAGE_SIZE = 10;
3030

31-
private $queryBuilder;
32-
private $currentPage;
33-
private $pageSize;
34-
private $results;
35-
private $numResults;
31+
private DoctrineQueryBuilder $queryBuilder;
32+
private int $currentPage;
33+
private int $pageSize;
34+
private \Traversable $results;
35+
private int $numResults;
3636

3737
public function __construct(DoctrineQueryBuilder $queryBuilder, int $pageSize = self::PAGE_SIZE)
3838
{

0 commit comments

Comments
 (0)