1
0
Fork 0

SvnDriver: buildIdentifier must be of type int, string given (#10646)

pull/10647/head
Stephan 2022-03-21 12:18:11 +00:00 committed by GitHub
parent f68ea293d5
commit bd89a67398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -396,11 +396,11 @@ class SvnDriver extends VcsDriver
* Build the identifier respecting "package-path" config option * Build the identifier respecting "package-path" config option
* *
* @param string $baseDir The path to trunk/branch/tag * @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 * @return string
*/ */
protected function buildIdentifier(string $baseDir, int $revision): string protected function buildIdentifier(string $baseDir, string $revision): string
{ {
return rtrim($baseDir, '/') . $this->packagePath . '/@' . $revision; return rtrim($baseDir, '/') . $this->packagePath . '/@' . $revision;
} }