Skip to content

Commit fa45101

Browse files
committed
One more test
1 parent e64b193 commit fa45101

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: tests/PHPStan/Parser/PhpDocParserTest.php

+13
Original file line numberDiff line numberDiff line change
@@ -6838,6 +6838,19 @@ public function dataTextBetweenTagsBelongsToDescription(): iterable
68386838
]),
68396839
];
68406840

6841+
yield [
6842+
'/**' . PHP_EOL .
6843+
' * Real description' . PHP_EOL .
6844+
' * @param int $a test' . PHP_EOL .
6845+
' *' . PHP_EOL .
6846+
' */',
6847+
new PhpDocNode([
6848+
new PhpDocTextNode('Real description'),
6849+
new PhpDocTagNode('@param', new ParamTagValueNode(new IdentifierTypeNode('int'), false, '$a', 'test')),
6850+
new PhpDocTextNode(''),
6851+
]),
6852+
];
6853+
68416854
yield [
68426855
'/**' . PHP_EOL .
68436856
' * Real description' . PHP_EOL .

0 commit comments

Comments
 (0)