@@ -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 |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public const TYPE_DESCRIPTION = <<<Description |
| 29 | 29 | A Directive can be adjacent to many parts of the GraphQL language, |
| 30 | 30 | a __DirectiveLocation describes one such possible adjacencies. |
| 31 | -Description; |
|
| 31 | +description; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @var int |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | public function getName(): string |
| 28 | 28 | { |
| 29 | 29 | if ($this->name === null) { |
| 30 | - return \spl_object_hash($this) . '@anonymous'; |
|
| 30 | + return \spl_object_hash($this).'@anonymous'; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | return $this->name; |
@@ -30,18 +30,18 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public static function getType(): TypeInterface |
| 32 | 32 | { |
| 33 | - return Type::of(Type::INTERFACE); |
|
| 33 | + return Type::of(Type::interface); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param TypeDefinition $definition |
| 38 | 38 | * @return bool |
| 39 | 39 | */ |
| 40 | - public function instanceOf($definition): bool |
|
| 40 | + public function instanceof($definition): bool |
|
| 41 | 41 | { |
| 42 | 42 | // Return a positive response if the parent type (like Object or Interface) |
| 43 | 43 | // can implement the desired type. |
| 44 | 44 | return $this->isImplements($definition) || |
| 45 | - parent::instanceOf($definition); |
|
| 45 | + parent::instanceof($definition); |
|
| 46 | 46 | } |
| 47 | 47 | } |
@@ -37,11 +37,11 @@ |
||
| 37 | 37 | * @param TypeDefinition $definition |
| 38 | 38 | * @return bool |
| 39 | 39 | */ |
| 40 | - public function instanceOf($definition): bool |
|
| 40 | + public function instanceof($definition): bool |
|
| 41 | 41 | { |
| 42 | 42 | // Return a positive response if the parent type (like Object or Interface) |
| 43 | 43 | // can implement the desired type. |
| 44 | 44 | return $this->isImplements($definition) || |
| 45 | - parent::instanceOf($definition); |
|
| 45 | + parent::instanceof($definition); |
|
| 46 | 46 | } |
| 47 | 47 | } |