Skip to content

Commit

Permalink
HotFix for Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Shevchuk committed Jul 14, 2021
1 parent 5719730 commit 21b0bb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Proxy/Cache.php
Original file line number Diff line number Diff line change
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 21b0bb5

Please sign in to comment.