1
0
Fork 0

Fix php 5.3 support

pull/10065/head
Jordi Boggiano 2021-08-17 16:53:16 +02:00
parent ddd7920d2a
commit 46f2d9de48
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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 {