From bd89a67398cab59b4f0504fbc8c82e25c1a0a489 Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 21 Mar 2022 12:18:11 +0000 Subject: [PATCH] SvnDriver: buildIdentifier must be of type int, string given (#10646) --- 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 ce7bdfe0f..96168e365 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -396,11 +396,11 @@ class SvnDriver extends VcsDriver * 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; }