@@ -58,9 +58,9 @@ |
||
| 58 | 58 | parent::__construct($document, self::TYPE_NAME); |
| 59 | 59 | |
| 60 | 60 | $this->withDescription(self::TYPE_DESCRIPTION) |
| 61 | - ->withArgument((new ArgumentDefinition($this, $document, 'reason','String')) |
|
| 61 | + ->withArgument((new ArgumentDefinition($this, $document, 'reason', 'String')) |
|
| 62 | 62 | ->withDefaultValue('No longer supported')) |
| 63 | - ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation { |
|
| 63 | + ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation { |
|
| 64 | 64 | return new DirectiveLocation($this, $document, $location); |
| 65 | 65 | }, self::LOCATIONS)); |
| 66 | 66 | } |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | $this->withDescription(self::TYPE_DESCRIPTION) |
| 54 | 54 | ->withArgument((new ArgumentDefinition($this, $document, 'if', 'Boolean')) |
| 55 | 55 | ->withModifiers(ArgumentDefinition::IS_NOT_NULL)) |
| 56 | - ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation { |
|
| 56 | + ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation { |
|
| 57 | 57 | return new DirectiveLocation($this, $document, $location); |
| 58 | 58 | }, self::LOCATIONS)); |
| 59 | 59 | } |