From 622864e3451b0fac0ab350c84009670ccf908834 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 13 Jan 2017 00:56:49 +0100 Subject: [PATCH] Paginator: added default value --- src/Utils/Paginator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Paginator.php b/src/Utils/Paginator.php index 1647d9c6d..9dee66f24 100644 --- a/src/Utils/Paginator.php +++ b/src/Utils/Paginator.php @@ -39,7 +39,7 @@ class Paginator private $itemsPerPage = 1; /** @var int */ - private $page; + private $page = 1; /** @var int|NULL */ private $itemCount;