Fix php 5.3 support

main
Jordi Boggiano 3 years ago
parent ddd7920d2a
commit 46f2d9de48
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -172,7 +172,7 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface
// 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 {

Loading…
Cancel
Save