Skip to content

Commit

Permalink
Add type reference in json format
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Apr 6, 2024
1 parent 00a9ed4 commit 0ace1b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tag/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function getDescription(): ?DescriptionInterface
public function jsonSerialize(): array
{
return \array_filter([
'kind' => static::class,
'name' => $this->name,
'description' => $this->description,
], static fn(mixed $value): bool => $value !== null);
Expand Down

0 comments on commit 0ace1b4

Please sign in to comment.