Skip to content

Commit

Permalink
fix: fix array to string error
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Oct 12, 2023
1 parent e470bd4 commit 5997233
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MomentoCacheBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public function set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANEN
{
assert(Inspector::assertAllStrings($tags));

print("\n\n\n======> Tags: " . implode(', ', $tags) . " <=======\n\n\n");

// Add tag for invalidateAll()
$tags[] = $this->binTag;
$tags = array_unique($tags);
Expand Down

0 comments on commit 5997233

Please sign in to comment.