Skip to content

Commit

Permalink
修正参数类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Feb 13, 2025
1 parent de6b080 commit ca77d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/cache/driver/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function append($name, $value): void
* @param string $tag 缓存标签
* @return array
*/
public function getTagItems($tag): array
public function getTagItems(string $tag): array
{
$name = $this->getTagKey($tag);
$key = $this->getCacheKey($name);
Expand Down

0 comments on commit ca77d38

Please sign in to comment.