@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | return new CacheEntry( |
| 94 | 94 | $request, |
| 95 | 95 | $response, |
| 96 | - new \DateTime('+'.(int) $cacheControl->get($key).'seconds') |
|
| 96 | + new \DateTime('+'.(int)$cacheControl->get($key).'seconds') |
|
| 97 | 97 | ); |
| 98 | 98 | } |
| 99 | 99 | } |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | { |
| 254 | 254 | $cache = $this->storage->fetch($this->getCacheKey($request)); |
| 255 | 255 | |
| 256 | - if ($cache !== null && !$cache->getVaryHeaders()->isEmpty()) { |
|
| 256 | + if ($cache !== null && !$cache->getVaryHeaders()->isEmpty()) { |
|
| 257 | 257 | $varyHeaders = $cache->getVaryHeaders(); |
| 258 | 258 | $this->storage->delete($this->getCacheKey($request, $varyHeaders)); |
| 259 | 259 | } |