From 7b90e6d71b30581ff5d8cb78a92c548758c5ea7f Mon Sep 17 00:00:00 2001 From: Valithor Obsidion Date: Tue, 4 Feb 2025 15:01:35 -0500 Subject: [PATCH] Fix parameters test --- tests/test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.php b/tests/test.php index 2a5859a..f39476f 100644 --- a/tests/test.php +++ b/tests/test.php @@ -70,7 +70,7 @@ $testRoutes = [ }], ]; -$routes = addRoutes($testRoutes); +foreach ($testRoutes as $route) SegmentRouter::add($routes, ...$route); for ($i = 0; $i < 10; $i++) {