Skip to content

Commit

Permalink
修复弃用通知
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Aug 20, 2024
1 parent 072c9aa commit 4022a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/stubs/TestFieldJsonDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function fromData(array|string $data): ?static
return new self(...$data);
}

public function jsonSerialize()
public function jsonSerialize(): array
{
return get_object_vars($this);
}
Expand Down

0 comments on commit 4022a8c

Please sign in to comment.