diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Paginator.php | 4 |
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)) { |
