Passed
Pull Request — master (#164)
by
unknown
01:27
created
src/Strategy/PrivateCacheStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.