]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/IMemoryCache.php
Merge pull request #7465 from nupplaphil/task/dice_cache_lock
[friendica.git] / src / Core / Cache / IMemoryCache.php
index 939e545741cf78da71e36a73880515df6baec0e7..339f72d04a37161d1e47ae34b3a9324495ffffb8 100644 (file)
@@ -19,7 +19,7 @@ interface IMemoryCache extends ICache
         * @param int    $ttl      The cache lifespan, must be one of the Cache constants
         * @return bool
         */
-       public function add($key, $value, $ttl = ICache::FIVE_MINUTES);
+       public function add($key, $value, $ttl = Cache::FIVE_MINUTES);
 
        /**
         * Compares if the old value is set and sets the new value
@@ -31,7 +31,7 @@ interface IMemoryCache extends ICache
         *
         * @return bool
         */
-       public function compareSet($key, $oldValue, $newValue, $ttl = ICache::FIVE_MINUTES);
+       public function compareSet($key, $oldValue, $newValue, $ttl = Cache::FIVE_MINUTES);
 
        /**
         * Compares if the old value is set and removes it