From 4472437696a693f68fed06afb8328b495a4b2c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 24 Oct 2025 12:41:46 +0200 Subject: [PATCH] AI code review fix --- app/controllers/api/vcs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index df8781b5b6..effc0e0bbe 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -1094,7 +1094,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories') ]; foreach ($strategies as $strategy) { - $detector = new Runtime($strategy === Strategy::LANGUAGES ? $languages : $files, $strategy, $packager); + $detector = new Runtime($strategy, $packager); if ($strategy === Strategy::LANGUAGES) { foreach ($languages as $language) { $detector->addInput($language);