Skip to content

Commit fb948e8

Browse files
committed
regex fix for ellipsis in summary text;
1 parent 2f482c7 commit fb948e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocBlockFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private function splitDocBlock(string $comment)
166166
[^\n.]+
167167
(?:
168168
(?! \. \n | \n{2} ) # End summary upon a dot followed by newline or two newlines
169-
[\n.] (?! [ \t]* @\pL ) # End summary when an @ is found as first character on a new line
169+
[\n.]* (?! [ \t]* @\pL ) # End summary when an @ is found as first character on a new line
170170
[^\n.]+ # Include anything else
171171
)*
172172
\.?

0 commit comments

Comments
 (0)