Skip to content

Commit

Permalink
Merge pull request #479 from bluzphp/develop
Browse files Browse the repository at this point in the history
HotFix for Cache
  • Loading branch information
Anton committed Jul 14, 2021
2 parents 78e0944 + 21b0bb5 commit 012d199
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Proxy/Cache.php
Expand Up @@ -144,7 +144,7 @@ public static function set(string $key, $data, int $ttl = self::TTL_NO_EXPIRY, a
}

if (!empty($tags)) {
$item->setTags($tags);
$item->tag($tags);
}

return $cache->save($item);
Expand Down Expand Up @@ -174,7 +174,6 @@ public static function prepare(string $key): string
* @param string $tag
*
* @return bool
* @throws InvalidArgumentException
*/
public static function clearTag(string $tag): bool
{
Expand All @@ -190,7 +189,6 @@ public static function clearTag(string $tag): bool
* @param array $tags
*
* @return bool
* @throws InvalidArgumentException
*/
public static function clearTags(array $tags): bool
{
Expand Down

0 comments on commit 012d199

Please sign in to comment.