From 94ea863f0bc95319eb25cae85861cd0bbc8418e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Fri, 29 Sep 2023 14:15:34 +0200 Subject: [PATCH] php8.2 --- src/View/Model/AxiosModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View/Model/AxiosModel.php b/src/View/Model/AxiosModel.php index 8cfbe95..a259898 100644 --- a/src/View/Model/AxiosModel.php +++ b/src/View/Model/AxiosModel.php @@ -219,14 +219,14 @@ class AxiosModel implements ModelInterface - public function getIterator() + public function getIterator(): Traversable { throw new \Exception('getIterator is not available with AxiosModel'); } - public function count() + public function count(): int { return 0; } -- GitLab