From 9709effc40ed8b01e9a1f14b3c7202d3178eb34f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Apr 2026 13:54:53 +0000 Subject: [PATCH] Fix psalm errors: cast argument to string in DocsCommand Agent-Logs-Url: https://github.com/sajya/server/sessions/b1102893-4089-419d-8cae-37a58b78d8ab Co-authored-by: tabuna <5102591+tabuna@users.noreply.github.com> --- src/Commands/DocsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/DocsCommand.php b/src/Commands/DocsCommand.php index 0b61414..ed74975 100644 --- a/src/Commands/DocsCommand.php +++ b/src/Commands/DocsCommand.php @@ -36,7 +36,7 @@ class DocsCommand extends Command */ public function handle(): int { - $routeName = $this->argument('route'); + $routeName = (string) $this->argument('route'); $route = Route::getRoutes()->getByName($routeName);