summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-04-03 17:17:02 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-04-03 17:19:16 +0100
commitfe08511b142ebcf03abe6e407f6746de3b4db362 (patch)
tree26257d4287110ca9a57c9f5c0e0382c597b0fa98 /vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
parent89d880da80f202b08b9fe837f38a87b48c6d2a97 (diff)
downloadwebtrees-fe08511b142ebcf03abe6e407f6746de3b4db362.tar.gz
webtrees-fe08511b142ebcf03abe6e407f6746de3b4db362.tar.bz2
webtrees-fe08511b142ebcf03abe6e407f6746de3b4db362.zip
Update vendor dependencies
Diffstat (limited to 'vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php')
-rw-r--r--vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php b/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
index 862bac557d..1efad607e8 100644
--- a/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
+++ b/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php
@@ -215,7 +215,7 @@ class ResponseCacheStrategy implements ResponseCacheStrategyInterface
}
if (false !== $this->ageDirectives[$directive]) {
- $value = $value - $age;
+ $value -= $age;
$this->ageDirectives[$directive] = null !== $this->ageDirectives[$directive] ? min($this->ageDirectives[$directive], $value) : $value;
}
}