Skip to content
Permalink
Browse files Browse the repository at this point in the history
改进缓存驱动unserialize方法参数类型限制
  • Loading branch information
liu21st committed Jan 7, 2022
1 parent d9cadb6 commit d3b5aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/cache/Driver.php
Expand Up @@ -249,7 +249,7 @@ protected function serialize($data): string
* @param string $data 缓存数据
* @return mixed
*/
protected function unserialize(string $data)
protected function unserialize($data)
{
if (is_numeric($data)) {
return $data;
Expand Down

0 comments on commit d3b5aea

Please sign in to comment.