From 2fdf0ab9be9178e91cb4ba2194e95bbb9538c7c2 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Nov 2025 18:09:41 +0000 Subject: [PATCH] Fix Manifest::get_stats() for new route structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/RSpade/Commands/Rsx/Manifest_Stats_Command.php | 1 + app/RSpade/Core/Manifest/Manifest.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php b/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php index 125e3a315..38c7f36ac 100755 --- a/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php +++ b/app/RSpade/Commands/Rsx/Manifest_Stats_Command.php @@ -4,6 +4,7 @@ namespace App\RSpade\Commands\Rsx; use App\Console\Commands\FrameworkDeveloperCommand; use App\RSpade\Core\Manifest\Manifest; +use Illuminate\Console\Command; class Manifest_Stats_Command extends FrameworkDeveloperCommand { diff --git a/app/RSpade/Core/Manifest/Manifest.php b/app/RSpade/Core/Manifest/Manifest.php index 17e4cb7a7..47c30b216 100755 --- a/app/RSpade/Core/Manifest/Manifest.php +++ b/app/RSpade/Core/Manifest/Manifest.php @@ -941,7 +941,7 @@ class Manifest } $routes = static::get_routes(); - $stats['routes'] = count($routes['controllers']) + count($routes['api']); + $stats['routes'] = count($routes); return $stats; }