Completed
Push — in-memory-cache ( a24fa8 )
by André
26:08
created
eZ/Publish/Core/Persistence/Cache/Adapter/InMemoryCacheAdapter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         $this->ttl = $ttl / 1000;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $key
68
+     */
66 69
     public function getItem($key)
67 70
     {
68 71
         if ($items = $this->getValidInMemoryCacheItems([$key])) {
Please login to merge, or discard this patch.
Publish/Core/Persistence/Cache/Adapter/Tests/InMemoryCacheAdapterTest.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -368,9 +368,8 @@
 block discarded – undo
368 368
     }
369 369
 
370 370
     /**
371
-     * @param $key
372
-     * @param null $value If null the cache item will be assumed to be a cache miss here.
373
-     * @param int $defaultLifetime
371
+     * @param string $key
372
+     * @param boolean|null $value If null the cache item will be assumed to be a cache miss here.
374 373
      *
375 374
      * @return CacheItem
376 375
      */
Please login to merge, or discard this patch.