diff --git a/src/Route.php b/src/Route.php index 5b07332..f2d21f1 100644 --- a/src/Route.php +++ b/src/Route.php @@ -29,7 +29,7 @@ public static function parseRoutes(string $path): array { if (str_contains($content, 'return ')) { if (str_contains($content, '$this')) { preg_match('/return ([^;]*);/', $content, $matches); - return self::includeRoutes("