aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Paginator.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-13 22:47:51 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-13 22:47:51 +0200
commitd8c535c25c2330f9c2b7ee19d74b6d2b4a3bf4b6 (patch)
tree45b3ad4f13f051f0061ade5f1d4d3dc90ae7e045 /lib/Minz/Paginator.php
parent68766a98574d98be358199924222f26d8ac36561 (diff)
PHPStan Level 7 for Share userController logs_pagination (#5393)
Diffstat (limited to 'lib/Minz/Paginator.php')
-rw-r--r--lib/Minz/Paginator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Paginator.php b/lib/Minz/Paginator.php
index 77bc3e5e0..a3e2e58f7 100644
--- a/lib/Minz/Paginator.php
+++ b/lib/Minz/Paginator.php
@@ -47,9 +47,9 @@ class Minz_Paginator {
/**
* Permet d'afficher la pagination
* @param string $view nom du fichier de vue situé dans /app/views/helpers/
- * @param int $getteur variable de type $_GET[] permettant de retrouver la page
+ * @param string $getteur variable de type $_GET[] permettant de retrouver la page
*/
- public function render(string $view, int $getteur = 0): void {
+ public function render(string $view, string $getteur = '0'): void {
$view = APP_PATH . '/views/helpers/' . $view;
if (file_exists($view)) {