Cleanup WillySoft\Http\Route v2

This commit is contained in:
William 2023-01-27 10:13:32 +00:00
parent 254b3e9f56
commit b643c9834d

View File

@ -38,7 +38,6 @@ abstract class Route {
implode('/', $path_parts) !== implode('/', $request_path_parts) implode('/', $path_parts) !== implode('/', $request_path_parts)
) return; ) return;
foreach (self::$groups as $middlewares) { foreach (self::$groups as $middlewares) {
foreach ($middlewares as $middleware) { foreach ($middlewares as $middleware) {
$middleware(); $middleware();