Skip to content

Commit

Permalink
Fix php 5.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Aug 17, 2021
1 parent ddd7920 commit 46f2d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Downloader/FileDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre
// the cache is corrupt the archive will be deleted and the next attempt will re-download it
// see https://github.com/composer/composer/issues/10028
if (!$cache->isReadOnly()) {
$this->lastCacheWrites[$package->getName()] = $cacheKey;
$self->lastCacheWrites[$package->getName()] = $cacheKey;
}
$result = \React\Promise\resolve($fileName);
} else {
Expand Down

0 comments on commit 46f2d9d

Please sign in to comment.