Fix php 5.3 support
parent
ddd7920d2a
commit
46f2d9de48
|
@ -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
|
// 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
|
// see https://github.com/composer/composer/issues/10028
|
||||||
if (!$cache->isReadOnly()) {
|
if (!$cache->isReadOnly()) {
|
||||||
$this->lastCacheWrites[$package->getName()] = $cacheKey;
|
$self->lastCacheWrites[$package->getName()] = $cacheKey;
|
||||||
}
|
}
|
||||||
$result = \React\Promise\resolve($fileName);
|
$result = \React\Promise\resolve($fileName);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue