Completed
Pull Request — master (#69)
by Kamran
04:46
created
src/Strategy/PrivateCacheStrategy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.