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 b1c0cbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Composer/Repository/Vcs/SvnDriver.php
Expand Up @@ -234,7 +234,7 @@ public function getTags(): array
if (isset($match[1], $match[2]) && $match[2] !== './') {
$tags[rtrim($match[2], '/')] = $this->buildIdentifier(
'/' . $this->tagsPath . '/' . $match[2],
$match[1]
(int) $match[1]
);
}
}
Expand Down Expand Up @@ -270,7 +270,7 @@ public function getBranches(): array
if (isset($match[1], $match[2]) && $match[2] === './') {
$branches['trunk'] = $this->buildIdentifier(
'/' . $this->trunkPath,
$match[1]
(int) $match[1]
);
$this->rootIdentifier = $branches['trunk'];
break;
Expand All @@ -289,7 +289,7 @@ public function getBranches(): array
if (isset($match[1], $match[2]) && $match[2] !== './') {
$branches[rtrim($match[2], '/')] = $this->buildIdentifier(
'/' . $this->branchesPath . '/' . $match[2],
$match[1]
(int) $match[1]
);
}
}
Expand Down

0 comments on commit b1c0cbc

Please sign in to comment.