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);