mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Multiline @return statements were stripped from their newlines and indent
@return statements (and effectively others) were stripped from their newlines and indentation. By tweaking the reflection a bit was this effect countered.
This commit is contained in:
@@ -199,8 +199,6 @@ class DocBlock implements \Reflector
|
||||
continue;
|
||||
}
|
||||
|
||||
$tag_line = ltrim($tag_line);
|
||||
|
||||
if (isset($tag_line[0]) && ($tag_line[0] === '@')) {
|
||||
$result[] = $tag_line;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user