@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | $cacheExists = $this->cache !== false; |
102 | 102 | $cacheExpired = false; |
103 | 103 | if ($cacheExists) { |
104 | - $cacheCreationStamp = (int)$this->cache->creationStamp; |
|
104 | + $cacheCreationStamp = (int) $this->cache->creationStamp; |
|
105 | 105 | $currentTime = time(); |
106 | 106 | $cacheAge = $currentTime - $cacheCreationStamp; |
107 | 107 | $maxAgeInterval = new \DateInterval($this->maxAge); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | private function setHeadersFromCache() |
129 | 129 | { |
130 | 130 | if (isset($this->cache->headers)) { |
131 | - $headers = (array)json_decode($this->cache->headers); |
|
131 | + $headers = (array) json_decode($this->cache->headers); |
|
132 | 132 | /** @var array $headers */ |
133 | 133 | foreach ($headers as $headerName => $headerContent) { |
134 | 134 | ResponseHeaders::add($headerName, $headerContent); |