Skip to content

Commit 62c9d92

Browse files
committed
修复返回类型不符的问题
1 parent 50abf8f commit 62c9d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UserAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(protected int $id, protected string $token)
2727
{
2828
}
2929

30-
public function jsonSerialize()
30+
public function jsonSerialize(): mixed
3131
{
3232
return [
3333
'id' => $this->id,

0 commit comments

Comments
 (0)