File tree Expand file tree Collapse file tree 2 files changed +1
-33
lines changed Expand file tree Collapse file tree 2 files changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -30,37 +30,6 @@ public function getDescription(): Description|null
3030 return $ this ->description ;
3131 }
3232
33- /**
34- * @return array{
35- * name: non-empty-string,
36- * description: null|array{
37- * template: array|string,
38- * tags: list<array>
39- * }
40- * }
41- */
42- public function toArray (): array
43- {
44- return [
45- 'name ' => $ this ->name ,
46- 'description ' => $ this ->description ?->toArray(),
47- ];
48- }
49-
50- /**
51- * @return array{
52- * name: non-empty-string,
53- * description: null|array{
54- * template: array|string,
55- * tags: list<array>
56- * }
57- * }
58- */
59- public function jsonSerialize (): array
60- {
61- return $ this ->toArray ();
62- }
63-
6433 /**
6534 * @psalm-immutable
6635 */
Original file line number Diff line number Diff line change 44
55namespace TypeLang \PHPDoc \Tag ;
66
7- use TypeLang \Parser \Node \SerializableInterface ;
87use TypeLang \PHPDoc \Tag \Description \Description ;
98
10- interface TagInterface extends SerializableInterface, \Stringable
9+ interface TagInterface extends \Stringable
1110{
1211 /**
1312 * @return non-empty-string
You can’t perform that action at this time.
0 commit comments