Skip to content

Commit

Permalink
Fixed Paginator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
LordDeveloper authored Jun 25, 2024
1 parent cb4bd72 commit 060aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jeely/Tools/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Paginator implements PaginatorInterface

protected int $pageCount = 1;

public function __construct(int $pageCount, protected int $currentPage = 1, protected string $pattern = '{page}')
public function __construct(float $pageCount, protected int $currentPage = 1, protected string $pattern = '{page}')
{
$pageCount = intval(ceil($pageCount));

Expand Down

0 comments on commit 060aa53

Please sign in to comment.