Completed
Push — master ( abdda3...f6743e )
by Kamil
02:29
created
src/Cache/Memory/MemoryCache.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -272,7 +272,8 @@
 block discarded – undo
272 272
         {
273 273
             return Promise::doReject(new WriteException('Cache object is not open.'));
274 274
         }
275
-        if ($ttl <= 0) {
275
+        if ($ttl <= 0)
276
+        {
276 277
             return Promise::doReject(new WriteException('TTL needs to be higher than 0.'));
277 278
         }
278 279
         if (!array_key_exists($key, $this->storage))
Please login to merge, or discard this patch.