From d8789a4788c3756a9638e0ab5f07c9dbb11787c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Fri, 27 May 2022 09:25:31 +0200 Subject: [PATCH] helper refactoring --- src/Support/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/helpers.php b/src/Support/helpers.php index c21d9392..bd469edd 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -1218,7 +1218,7 @@ if (! function_exists('extractItemsFromGetAttribute')) { int $totalEntries ): array { $uri = request()->fullUrl(); - $perPage = config('vuefilemanager.paginate.perPage'); + $perPage = intval(config('vuefilemanager.paginate.perPage')); $lastPage = ceil($totalEntries / $perPage); $currentPage = request()->input('page') === 'all' ? 1