We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc629a2 commit 664af3dCopy full SHA for 664af3d
src/Utils/SchemaPrinter.php
@@ -53,11 +53,11 @@ private static function isIntrospectionType($typename)
53
private static function isBuiltInScalar($typename)
54
{
55
return (
56
- $typename === 'String' ||
57
- $typename === 'Boolean' ||
58
- $typename === 'Int' ||
59
- $typename === 'Float' ||
60
- $typename === 'ID'
+ $typename === Type::STRING ||
+ $typename === Type::BOOLEAN ||
+ $typename === Type::INT ||
+ $typename === Type::FLOAT ||
+ $typename === Type::ID
61
);
62
}
63
0 commit comments