Skip to content

Commit

Permalink
SvnDriver: buildIdentifier must be of type int, string given
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Mar 21, 2022
1 parent f68ea29 commit 3491975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Composer/Repository/Vcs/SvnDriver.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3491975

Please sign in to comment.