From 34919750ef99c8a99ff54e7fa28c622b8934031d Mon Sep 17 00:00:00 2001 From: Stephan Vock Date: Mon, 21 Mar 2022 11:21:11 +0000 Subject: [PATCH] SvnDriver: buildIdentifier must be of type int, string given --- src/Composer/Repository/Vcs/SvnDriver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index ce7bdfe0f38d..96168e365c48 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -396,11 +396,11 @@ protected function execute(string $command, string $url): string * Build the identifier respecting "package-path" config option * * @param string $baseDir The path to trunk/branch/tag - * @param int $revision The revision mark to add to identifier + * @param string $revision The revision mark to add to identifier * * @return string */ - protected function buildIdentifier(string $baseDir, int $revision): string + protected function buildIdentifier(string $baseDir, string $revision): string { return rtrim($baseDir, '/') . $this->packagePath . '/@' . $revision; }