From 1f296229143e753932cd2302cfc4775316ecfb37 Mon Sep 17 00:00:00 2001 From: kj Date: Mon, 7 Sep 2026 20:00:08 -0300 Subject: [PATCH] refactor(router): remove exit statement from redirect method --- src/Libs/Router.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Libs/Router.php b/src/Libs/Router.php index af85b66..428ed6d 100644 --- a/src/Libs/Router.php +++ b/src/Libs/Router.php @@ -184,7 +184,6 @@ class Router public static function redirect(string $path): void { header('Location: ' . static::basePath() . ltrim($path, '/')); - exit; } /**