From d1ad9321e6f303608b67e94fc9c449b3f28ad7e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr>
Date: Fri, 10 Nov 2023 15:05:53 +0100
Subject: [PATCH] php82

---
 src/View/RouteNotFoundStrategy.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/View/RouteNotFoundStrategy.php b/src/View/RouteNotFoundStrategy.php
index 5bc0d1b..8629ba0 100644
--- a/src/View/RouteNotFoundStrategy.php
+++ b/src/View/RouteNotFoundStrategy.php
@@ -313,6 +313,7 @@ class RouteNotFoundStrategy extends AbstractListenerAggregate
 
                     $tableCols = 2;
                     $tableType = 1;
+                    $table = [];
                     $table[]   = [$a, $b];
                     continue;
                 }
@@ -333,6 +334,7 @@ class RouteNotFoundStrategy extends AbstractListenerAggregate
 
                     $tableCols = $count;
                     $tableType = 2;
+                    $table = [];
                     $table[]   = $b;
                     continue;
                 }
-- 
GitLab