@@ -31,7 +31,7 @@ |
||
| 31 | 31 | an object or as the key for a cache. The ID type is serialized in the |
| 32 | 32 | same way as a String; however, defining it as an ID signifies that it |
| 33 | 33 | is not intended to be human‐readable. |
| 34 | -Description; |
|
| 34 | +description; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @var int |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | public const TYPE_DESCRIPTION = <<<Description |
| 30 | 30 | The DateTime scalar conforms to the **RFC 3339** |
| 31 | 31 | profile of the **ISO 8601** standard. |
| 32 | -Description; |
|
| 32 | +description; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @var int |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * @var string |
| 39 | 39 | */ |
| 40 | - public const INTERFACE = 'Interface'; |
|
| 40 | + public const interface = 'Interface'; |
|
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * @var string |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | public const ROOT_TYPES = [ |
| 114 | 114 | self::SCALAR, |
| 115 | 115 | self::OBJECT, |
| 116 | - self::INTERFACE, |
|
| 116 | + self::interface, |
|
| 117 | 117 | self::UNION, |
| 118 | 118 | self::ENUM, |
| 119 | 119 | self::INPUT_OBJECT, |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | public const ALLOWS_TO_OUTPUT = [ |
| 142 | 142 | self::SCALAR, |
| 143 | 143 | self::OBJECT, |
| 144 | - self::INTERFACE, |
|
| 144 | + self::interface, |
|
| 145 | 145 | self::UNION, |
| 146 | 146 | self::ENUM, |
| 147 | 147 | self::INPUT_OBJECT, |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | * @var string[]|array[] |
| 159 | 159 | */ |
| 160 | 160 | public const INHERITANCE_TREE = [ |
| 161 | - self::INTERFACE => [ |
|
| 161 | + self::interface => [ |
|
| 162 | 162 | self::OBJECT => [ |
| 163 | 163 | self::INPUT_OBJECT |
| 164 | 164 | ], |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | * @param TypeInterface $type |
| 211 | 211 | * @return bool |
| 212 | 212 | */ |
| 213 | - public function instanceOf(TypeInterface $type): bool; |
|
| 213 | + public function instanceof(TypeInterface $type): bool; |
|
| 214 | 214 | |
| 215 | 215 | /** |
| 216 | 216 | * Returns true if the type is the same as the current type. |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public const TYPE_DESCRIPTION = <<<Description |
| 29 | 29 | Object and Interface types are described by a list of Fields, each of |
| 30 | 30 | which has a name, potentially a list of arguments, and a return type. |
| 31 | -Description; |
|
| 31 | +description; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @var int |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | Interface types provide the fields they describe. Abstract types, |
| 36 | 36 | Union and Interface, provide the Object types possible at runtime. |
| 37 | 37 | List and NonNull types compose other types. |
| 38 | -Description; |
|
| 38 | +description; |
|
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @var int |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | execution behavior in ways field arguments will not suffice, such |
| 34 | 34 | as conditionally including or skipping a field. Directives provide |
| 35 | 35 | this by describing additional information to the executor. |
| 36 | -Description; |
|
| 36 | +description; |
|
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * @var int |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | A GraphQL Schema defines the capabilities of a GraphQL server. |
| 30 | 30 | It exposes all available types and directives on the server, as well |
| 31 | 31 | as the entry points for query, mutation, and subscription operations. |
| 32 | -Description; |
|
| 32 | +description; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @var int |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | Arguments provided to Fields or Directives and the input fields of an |
| 30 | 30 | InputObject are represented as Input Values which describe their |
| 31 | 31 | type and optionally a default value. |
| 32 | -Description; |
|
| 32 | +description; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @var int |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | One possible value for a given Enum. Enum values are unique values, |
| 30 | 30 | not a placeholder for a string or numeric value. However an Enum |
| 31 | 31 | value is returned in a JSON response as a string. |
| 32 | -Description; |
|
| 32 | +description; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @var int |