AI code review fix

This commit is contained in:
Matej Bačo
2025-10-24 12:41:46 +02:00
parent ca39c2cde5
commit 4472437696
+1 -1
View File
@@ -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);