Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
+2
-2
@@ -304,7 +304,7 @@ class SchemaPrinter
|
||||
|
||||
protected static function printInputValue($arg) : string
|
||||
{
|
||||
$argDecl = $arg->name . ': ' . (string) $arg->getType();
|
||||
$argDecl = $arg->name . ': ' . $arg->getType();
|
||||
if ($arg->defaultValueExists()) {
|
||||
$argDecl .= ' = ' . Printer::doPrint(AST::astFromValue($arg->defaultValue, $arg->getType()));
|
||||
}
|
||||
@@ -387,7 +387,7 @@ class SchemaPrinter
|
||||
static function ($f, $i) use ($options) : string {
|
||||
return static::printDescription($options, $f, ' ', ! $i) . ' ' .
|
||||
$f->name . static::printArgs($options, $f->args, ' ') . ': ' .
|
||||
(string) $f->getType() . static::printDeprecated($f);
|
||||
$f->getType() . static::printDeprecated($f);
|
||||
},
|
||||
$fields,
|
||||
array_keys($fields)
|
||||
|
||||
Reference in new issue
Block a user