mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 07:49:24 +03:00
Fixed broken description printing
This commit is contained in:
parent
03d7d1851c
commit
49ec89b28f
@ -325,7 +325,7 @@ class Printer
|
||||
public function addDescription(\Closure $cb)
|
||||
{
|
||||
return function ($node) use ($cb) {
|
||||
return $this->join([$node->description, $cb($node)]);
|
||||
return $this->join([$node->description, $cb($node)], "\n");
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user