Fix Manifest::get_stats() for new route structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-19 18:09:41 +00:00
parent 9ebcc359ae
commit 2fdf0ab9be
2 changed files with 2 additions and 1 deletions

View File

@@ -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
{

View File

@@ -941,7 +941,7 @@ class Manifest
}
$routes = static::get_routes();
$stats['routes'] = count($routes['controllers']) + count($routes['api']);
$stats['routes'] = count($routes);
return $stats;
}