think-orm icon indicating copy to clipboard operation
think-orm copied to clipboard

PDOConnection 694 行与think-cache 有点冲突了

Open banlancegit opened this issue 2 years ago • 0 comments

现在最新2.06版 think-cache get方法默认返回false了, public function get($name, $default = false)

然后PDOConnection 694行那缓存判断是null if (null !== $data ) { return $data; } 导致没缓存一样把$data返回去了,报错: Return value must be of type array, bool returned in

banlancegit avatar Apr 26 '22 03:04 banlancegit