Skip to content

Commit

Permalink
Paginator: added default value
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 15, 2017
1 parent 45ace2f commit d116328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Paginator
private $itemsPerPage = 1;

/** @var int */
private $page;
private $page = 1;

/** @var int|NULL */
private $itemCount;
Expand Down

0 comments on commit d116328

Please sign in to comment.