You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnstatic::$standardTypes[self::FLOAT] ??= newFloatType();// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
57
57
}
58
58
59
59
/**
60
-
* @api
60
+
* Returns the registered or default standard String type.
returnstatic::$standardTypes[self::STRING] ??= newStringType();// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
67
67
}
68
68
69
69
/**
70
-
* @api
70
+
* Returns the registered or default standard Boolean type.
returnstatic::$standardTypes[self::BOOLEAN] ??= newBooleanType();// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
77
77
}
78
78
79
79
/**
80
-
* @api
80
+
* Returns the registered or default standard ID type.
returnself::$cachedInstances[self::SCHEMA_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
257
252
'name' => self::SCHEMA_OBJECT_NAME,
258
253
'isIntrospection' => true,
259
254
'description' => 'A GraphQL Schema defines the capabilities of a GraphQL '
@@ -290,10 +285,9 @@ public static function _schema(): ObjectType
returnself::$cachedInstances[self::TYPE_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
297
291
'name' => self::TYPE_OBJECT_NAME,
298
292
'isIntrospection' => true,
299
293
'description' => 'The fundamental unit of any GraphQL Schema is the type. There are '
@@ -441,10 +435,9 @@ public static function _type(): ObjectType
returnself::$cachedInstances[self::TYPE_KIND_ENUM_NAME] ??= newEnumType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
448
441
'name' => self::TYPE_KIND_ENUM_NAME,
449
442
'isIntrospection' => true,
450
443
'description' => 'An enum describing what kind of type a given `__Type` is.',
@@ -485,10 +478,9 @@ public static function _typeKind(): EnumType
returnself::$cachedInstances[self::FIELD_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
492
484
'name' => self::FIELD_OBJECT_NAME,
493
485
'isIntrospection' => true,
494
486
'description' => 'Object and Interface types are described by a list of Fields, each of '
@@ -539,10 +531,9 @@ public static function _field(): ObjectType
returnself::$cachedInstances[self::INPUT_VALUE_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
546
537
'name' => self::INPUT_VALUE_OBJECT_NAME,
547
538
'isIntrospection' => true,
548
539
'description' => 'Arguments provided to Fields or Directives and the input fields of an '
@@ -597,10 +588,9 @@ public static function _inputValue(): ObjectType
returnself::$cachedInstances[self::ENUM_VALUE_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
604
594
'name' => self::ENUM_VALUE_OBJECT_NAME,
605
595
'isIntrospection' => true,
606
596
'description' => 'One possible value for a given Enum. Enum values are unique values, not '
@@ -627,10 +617,9 @@ public static function _enumValue(): ObjectType
returnself::$cachedInstances[self::DIRECTIVE_OBJECT_NAME] ??= newObjectType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
634
623
'name' => self::DIRECTIVE_OBJECT_NAME,
635
624
'isIntrospection' => true,
636
625
'description' => 'A Directive provides a way to describe alternate runtime execution and '
@@ -666,10 +655,9 @@ public static function _directive(): ObjectType
returnself::$cachedInstances[self::DIRECTIVE_LOCATION_ENUM_NAME] ??= newEnumType([// @phpstan-ignore missingType.checkedException (static configuration is known to be correct)
673
661
'name' => self::DIRECTIVE_LOCATION_ENUM_NAME,
674
662
'isIntrospection' => true,
675
663
'description' => 'A Directive can be adjacent to many parts of the GraphQL language, a '
@@ -755,7 +743,6 @@ public static function _directiveLocation(): EnumType
0 commit comments