mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix ReflectionClass::__toString doc block omitted
This commit is contained in:
parent
c7c3b967a5
commit
b899656eb0
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in
|
|||
|
||||
/* TBD: Repair indenting of doc comment (or is this to be done in the parser?) */
|
||||
if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) {
|
||||
string_printf(str, "%s%s", indent, ce->info.user.doc_comment);
|
||||
string_printf(str, "%s%s", indent, ZSTR_VAL(ce->info.user.doc_comment));
|
||||
string_write(str, "\n", 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue