From abdc7522462bcca81e74d568fa84c8b21ee83983 Mon Sep 17 00:00:00 2001 From: Marcus Schwemer Date: Wed, 18 Sep 2024 12:08:06 +0200 Subject: [PATCH] [TASK] Make phpstan happy Related: in2code-de/powermail#1084 --- Classes/Controller/ModuleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/ModuleController.php b/Classes/Controller/ModuleController.php index a3f394566..af7e76e16 100644 --- a/Classes/Controller/ModuleController.php +++ b/Classes/Controller/ModuleController.php @@ -101,7 +101,7 @@ public function listAction(): ResponseInterface } } - $itemsPerPage = (int)$this->settings['perPage'] ?? 10; + $itemsPerPage = (int)($this->settings['perPage'] ?? 10); $paginator = GeneralUtility::makeInstance(QueryResultPaginator::class, $mails, $currentPage, $itemsPerPage); $pagination = GeneralUtility::makeInstance(SlidingWindowPagination::class, $paginator, 15);