From d56bf394b8d9224317e4ad8c7b1692278ae2ec5e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 30 Jan 2024 14:18:49 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Api/Controllers/ListPollsController.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/Api/Controllers/ListPollsController.php b/src/Api/Controllers/ListPollsController.php index e744b644..4e262b1a 100644 --- a/src/Api/Controllers/ListPollsController.php +++ b/src/Api/Controllers/ListPollsController.php @@ -1,5 +1,14 @@ url = $url; @@ -51,7 +60,7 @@ public function data(ServerRequestInterface $request, Document $document): Colle ->orderBy('id') ->skip($offset) ->take($limit); - + $totalItems = $results->count(); $results = $results->get();