Completed
Push — V3 ( d0014a...7d58c5 )
by Georges
03:37
created
src/Response/CacheableResponse.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
          */
65 65
         if (!($cacheResponse instanceof Response)) {
66 66
             $response = $callback();
67
-            if($response instanceof Response){
67
+            if ($response instanceof Response) {
68 68
                 $cacheItem->expiresAfter($expiresAfter);
69 69
 
70 70
                 /**
@@ -80,10 +80,10 @@  discard block
 block discarded – undo
80 80
                 $cacheItem->set($response);
81 81
                 $this->cacheInstance->save($cacheItem);
82 82
                 $cacheResponse = $response;
83
-            }else{
83
+            } else {
84 84
                throw new PhpfastcacheLogicException('Your callback response MUST return a valid Symfony HTTP Foundation Response object');
85 85
             }
86
-        }else{
86
+        } else {
87 87
             $cacheResponse->isNotModified($this->request);
88 88
         }
89 89
 
Please login to merge, or discard this patch.