]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/TraitCompareSet.php
Merge pull request #7540 from vinzv/patch-1
[friendica.git] / src / Core / Cache / TraitCompareSet.php
index 55193b7567f0ecbb5736367fcefe894d74cab82e..9c192d95290c58ac33399af54264057bb3966bf4 100644 (file)
@@ -2,12 +2,10 @@
 
 namespace Friendica\Core\Cache;
 
-use Friendica\Core\Cache;
-
 /**
  * Trait TraitCompareSetDelete
  *
- * @brief This Trait is to compensate non native "exclusive" sets/deletes in caches
+ * This Trait is to compensate non native "exclusive" sets/deletes in caches
  *
  * @package Friendica\Core\Cache
  */
@@ -22,7 +20,7 @@ trait TraitCompareSet
        abstract public function add($key, $value, $ttl = Cache::FIVE_MINUTES);
 
        /**
-        * @brief NonNative - Compares if the old value is set and sets the new value
+        * NonNative - Compares if the old value is set and sets the new value
         *
         * @param string $key         The cache key
         * @param mixed  $oldValue    The old value we know from the cache
@@ -45,4 +43,4 @@ trait TraitCompareSet
                        return false;
                }
        }
-}
\ No newline at end of file
+}