Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 4c5929f

Browse files
committed
Fixed obvious type-casting bug...
1 parent a176c47 commit 4c5929f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/PhpfastcacheSetCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
106106
$io->section($driver);
107107
$driverInstance = $this->phpfastcache->get($driver);
108108
$cacheItem = $driverInstance->getItem($cacheKey);
109-
$castedCacheValue = (bool) $this->autoTypeCast($cacheValue);
109+
$castedCacheValue = $this->autoTypeCast($cacheValue);
110110

111111
$cacheItem->set($autoTypeCast ? $castedCacheValue : $cacheValue);
112112

0 commit comments

Comments
 (0)