@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | return new CacheEntry( |
110 | 110 | $request, |
111 | 111 | $response, |
112 | - new \DateTime('+'.(int) $cacheControl->get($key).'seconds') |
|
112 | + new \DateTime('+'.(int)$cacheControl->get($key).'seconds') |
|
113 | 113 | ); |
114 | 114 | } |
115 | 115 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | |
134 | - return new CacheEntry($request, $response, new \DateTime($this->defaultCacheSeconds . ' seconds')); |
|
134 | + return new CacheEntry($request, $response, new \DateTime($this->defaultCacheSeconds.' seconds')); |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | protected function getCacheKey(RequestInterface $request) |
143 | 143 | { |
144 | - return $this->cachePrefix . hash('sha256', $request->getMethod().$request->getUri()); |
|
144 | + return $this->cachePrefix.hash('sha256', $request->getMethod().$request->getUri()); |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |