From 4e564392490d4645bb122b4ace0174b1a925fcb5 Mon Sep 17 00:00:00 2001 From: Rikesh Shrestha Date: Tue, 2 Oct 2018 14:32:20 +0700 Subject: [PATCH] Change scope to protected (#9) --- src/UnionAwareBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnionAwareBuilder.php b/src/UnionAwareBuilder.php index c05f3c3..ab791fe 100644 --- a/src/UnionAwareBuilder.php +++ b/src/UnionAwareBuilder.php @@ -45,7 +45,7 @@ public function unionPaginate($perPage = null, $columns = ['*'], $pageName = 'pa * @param QueryBuilder $query * @return int */ - private function getCountForUnionPagination($query) + protected function getCountForUnionPagination($query) { $conn = $this->getConnection(); $qb = new QueryBuilder($conn, $conn->getQueryGrammar(), $conn->getPostProcessor());