mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Remove superfluous arg
This commit is contained in:
parent
39cb505d69
commit
88171e409d
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface
|
||||||
$this->setPushUrl($path, $url);
|
$this->setPushUrl($path, $url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($newRef = $this->updateToCommit($package, $path, (string) $ref, $package->getPrettyVersion(), $package->getReleaseDate())) {
|
if ($newRef = $this->updateToCommit($package, $path, (string) $ref, $package->getPrettyVersion())) {
|
||||||
if ($package->getDistReference() === $package->getSourceReference()) {
|
if ($package->getDistReference() === $package->getSourceReference()) {
|
||||||
$package->setDistReference($newRef);
|
$package->setDistReference($newRef);
|
||||||
}
|
}
|
||||||
|
@ -186,7 +186,7 @@ class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface
|
||||||
};
|
};
|
||||||
|
|
||||||
$this->gitUtil->runCommand($commandCallable, $url, $path);
|
$this->gitUtil->runCommand($commandCallable, $url, $path);
|
||||||
if ($newRef = $this->updateToCommit($target, $path, (string) $ref, $target->getPrettyVersion(), $target->getReleaseDate())) {
|
if ($newRef = $this->updateToCommit($target, $path, (string) $ref, $target->getPrettyVersion())) {
|
||||||
if ($target->getDistReference() === $target->getSourceReference()) {
|
if ($target->getDistReference() === $target->getSourceReference()) {
|
||||||
$target->setDistReference($newRef);
|
$target->setDistReference($newRef);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue