@@ -49,7 +49,7 @@ |
||
| 49 | 49 | public function __toString(): string |
| 50 | 50 | { |
| 51 | 51 | try { |
| 52 | - $parent = (string)$this->getParentDefinition(); |
|
| 52 | + $parent = (string) $this->getParentDefinition(); |
|
| 53 | 53 | } catch (\Throwable $e) { |
| 54 | 54 | $parent = '?<?>'; |
| 55 | 55 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | ->withArgument((new ArgumentDefinition($this, 'if', 'Boolean')) |
| 56 | 56 | ->withLine(67) |
| 57 | 57 | ->withModifiers(ArgumentDefinition::IS_NOT_NULL)) |
| 58 | - ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation { |
|
| 58 | + ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation { |
|
| 59 | 59 | return new DirectiveLocation($this, $location); |
| 60 | 60 | }, self::LOCATIONS)); |
| 61 | 61 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | ->withArgument((new ArgumentDefinition($this, 'if', 'Boolean')) |
| 55 | 55 | ->withLine(56) |
| 56 | 56 | ->withModifiers(ArgumentDefinition::IS_NOT_NULL)) |
| 57 | - ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation { |
|
| 57 | + ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation { |
|
| 58 | 58 | return new DirectiveLocation($this, $location); |
| 59 | 59 | }, self::LOCATIONS)); |
| 60 | 60 | } |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | ->withArgument((new ArgumentDefinition($this, 'reason', 'String')) |
| 63 | 63 | ->withLine(39) |
| 64 | 64 | ->withDefaultValue('No longer supported')) |
| 65 | - ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation { |
|
| 65 | + ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation { |
|
| 66 | 66 | return new DirectiveLocation($this, $location); |
| 67 | 67 | }, self::LOCATIONS)); |
| 68 | 68 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * @var string |
| 33 | 33 | */ |
| 34 | - public const INTROSPECTION_SCHEMA_PATH = __DIR__ . '/../../resources/introspection.graphqls'; |
|
| 34 | + public const INTROSPECTION_SCHEMA_PATH = __DIR__.'/../../resources/introspection.graphqls'; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * IntrospectionDocument constructor. |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * @var string |
| 34 | 34 | */ |
| 35 | - public const STDLIB_SCHEMA_PATH = __DIR__ . '/../../resources/stdlib.graphqls'; |
|
| 35 | + public const STDLIB_SCHEMA_PATH = __DIR__.'/../../resources/stdlib.graphqls'; |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * GraphQLDocument constructor. |