summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/Response.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-07-13 22:13:09 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-07-13 22:13:09 +0100
commitea75abda1c0370fb1de46fb302c8871017f17632 (patch)
tree6ad700e0af225680cbeb9349882aa77f9292f5e9 /vendor/symfony/http-foundation/Response.php
parentd0bcc06fc828c5fd8500d82c2aef6b766eb1c443 (diff)
downloadwebtrees-ea75abda1c0370fb1de46fb302c8871017f17632.tar.gz
webtrees-ea75abda1c0370fb1de46fb302c8871017f17632.tar.bz2
webtrees-ea75abda1c0370fb1de46fb302c8871017f17632.zip
Update vendor dependencies
Diffstat (limited to 'vendor/symfony/http-foundation/Response.php')
-rw-r--r--vendor/symfony/http-foundation/Response.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-foundation/Response.php b/vendor/symfony/http-foundation/Response.php
index c3ac19d4a9..d1263ca7a1 100644
--- a/vendor/symfony/http-foundation/Response.php
+++ b/vendor/symfony/http-foundation/Response.php
@@ -684,7 +684,7 @@ class Response
return (int) $age;
}
- return max(time() - $this->getDate()->format('U'), 0);
+ return max(time() - (int) $this->getDate()->format('U'), 0);
}
/**
@@ -764,7 +764,7 @@ class Response
}
if (null !== $this->getExpires()) {
- return (int) ($this->getExpires()->format('U') - $this->getDate()->format('U'));
+ return (int) $this->getExpires()->format('U') - (int) $this->getDate()->format('U');
}
return null;