fix phpstan

This commit is contained in:
TomasVotruba 2021-04-21 22:58:06 +02:00
parent ddcc9d39c0
commit a57fd196c8

View File

@ -101,7 +101,7 @@ final class DowngradePathsCommand extends Command
continue;
}
$downgradePaths[$key] = Strings::before($downgradePath, '/', 2);
$downgradePaths[$key] = (string) Strings::before($downgradePath, '/', 2);
}
return array_unique($downgradePaths);