Skip to content

Commit

Permalink
[TASK] Make phpstan happy
Browse files Browse the repository at this point in the history
Related: #1084
  • Loading branch information
mschwemer committed Sep 18, 2024
1 parent 77da91f commit abdc752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit abdc752

Please sign in to comment.