Skip to content

Commit

Permalink
SvnDriver: buildIdentifier must be of type int, string given (compose…
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix authored and emahorvat52 committed Jan 18, 2023
1 parent c04dc28 commit e92c273
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 e92c273

Please sign in to comment.