Skip to content

Commit 2aabf60

Browse files
committed
Add type hint to the new per page variable on the page renderer.
1 parent 2bcf4ab commit 2aabf60

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

system/Pager/PagerRenderer.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,24 +84,18 @@ class PagerRenderer
8484

8585
/**
8686
* The number of items a page.
87-
*
88-
* @var int|null
8987
*/
90-
protected $perPage;
88+
protected ?int $perPage;
9189

9290
/**
9391
* The total items the current has started.
94-
*
95-
* @var int|null
9692
*/
97-
protected $perPageStart;
93+
protected ?int $perPageStart;
9894

9995
/**
10096
* The total items of the current page;
101-
*
102-
* @var int|null
10397
*/
104-
protected $perPageEnd;
98+
protected ?int $perPageEnd;
10599

106100
/**
107101
* Constructor.

0 commit comments

Comments
 (0)