Skip to content

Commit

Permalink
Fixed item cache value
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Mutaf <[email protected]>
  • Loading branch information
seruymt authored Nov 24, 2023
1 parent c0aa340 commit 13ebdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/CacheBridgeAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ final public function save(CacheItemInterface $item): bool
return false;
}

$value = serialize($item->get());
$value = serialize($item->getRawValue());
$key = $item->getKey();
$expires = $item->getExpiration();

Expand Down

0 comments on commit 13ebdf3

Please sign in to comment.