diff --git a/src/Model.php b/src/Model.php index 950d9433..45ec53eb 100644 --- a/src/Model.php +++ b/src/Model.php @@ -347,7 +347,7 @@ public function setSuffix(string $suffix) * @param string|bool $key 缓存标识 * @return $this */ - public function setCacheKey(string | bool $key) + public function setCacheKey($key) { $this->cacheKey = $key; return $this;