We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ca3897 + cbc9ca6 commit 04b8951Copy full SHA for 04b8951
src/phpFastCache/Drivers/Cookie/Driver.php
@@ -99,8 +99,6 @@ protected function driverWrite(CacheItemInterface $item)
99
protected function driverRead(CacheItemInterface $item)
100
{
101
$this->driverConnect();
102
- // return null if no caching
103
- // return value if in caching
104
$keyword = self::PREFIX . $item->getKey();
105
$x = isset($_COOKIE[ $keyword ]) ? json_decode($_COOKIE[ $keyword ], true) : false;
106
@@ -116,7 +114,7 @@ protected function driverRead(CacheItemInterface $item)
116
114
}
117
115
118
/**
119
- * @param $key
+ * @param string $key
120
* @return int
121
*/
122
protected function driverReadExpirationDate($key)
src/phpFastCache/Drivers/MongoPecl/TODO
0 commit comments