From 1f914f788fd33d868e334d5d96729802a898c78e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 17 Jan 2024 14:01:20 +0100 Subject: [PATCH] fix(scopes): Fix counting the routes Signed-off-by: Joas Schilling --- generate-spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate-spec b/generate-spec index 0f3d5d6..d01f3af 100755 --- a/generate-spec +++ b/generate-spec @@ -861,6 +861,6 @@ foreach ($scopePaths as $scope => $paths) { } file_put_contents($scopeOut, json_encode($openapiScope, Helpers::jsonFlags())); -} -Logger::info("app", "Generated ". count($routes). " routes!"); + Logger::info('app', 'Generated scope with' . count($openapiScope['paths']) . ' routes!'); +}