File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -79,18 +79,18 @@ private function lex(string $docblock): iterable
79
79
* Returns significant parts of the DocBlock comment with their offsets of
80
80
* the returned section, relative to the beginning.
81
81
*
82
- * ```php
82
+ * ```
83
83
* $result = $reader->read(<<<'DOC'
84
84
* /**
85
85
* * Example line 1
86
86
* *
87
- * * @tag1 type Description of tag1
88
- * *∕
87
+ * * @ tag1 type Description of tag1
88
+ * */
89
89
* DOC);
90
90
*
91
91
* // The $result contains:
92
92
* // object(Segment) { offset: 7, text: 'Example line 1' }
93
- * // object(Segment) { offset: 28, text: '@tag1 type Description of tag1' }
93
+ * // object(Segment) { offset: 28, text: '@ tag1 type Description of tag1' }
94
94
* ```
95
95
*
96
96
* @return iterable<array-key, Segment>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ interface DescriptionParserInterface
13
13
*
14
14
* ```php
15
15
* $description = $parser->parse(<<<'DOC'
16
- * This is a description with {@link Example}.
16
+ * This is a description with {@ link Example}.
17
17
* DOC);
18
18
*
19
19
* // $description MAY contains:
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ interface TagParserInterface
12
12
/**
13
13
* Returns concrete tag instance by the tag signature.
14
14
*
15
- * ```php
16
- * $tag = $parser->parse('@param string $tag');
15
+ * ```
16
+ * $tag = $parser->parse('@ param string $tag');
17
17
*
18
18
* // $tag may contains:
19
19
* // object(ParamTag) {
You can’t perform that action at this time.
0 commit comments