@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof ValueNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof ValueNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof ArgumentNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof ArgumentNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof EnumValueDefinitionNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof EnumValueDefinitionNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof FieldDefinitionNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof FieldDefinitionNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof IdentifierNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof IdentifierNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof DirectiveNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof DirectiveNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof VariableDefinitionNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof VariableDefinitionNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | */ |
| 72 | 72 | private function assert($value) |
| 73 | 73 | { |
| 74 | - if (! ($this->generic)($value)) { |
|
| 74 | + if (!($this->generic)($value)) { |
|
| 75 | 75 | $type = \is_object($value) ? \get_class($value) : \gettype($value); |
| 76 | 76 | |
| 77 | 77 | throw new \TypeError(\sprintf('A type %s can not be a part of %s', $type, static::class)); |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(array $items) |
| 29 | 29 | { |
| 30 | - parent::__construct(fn ($item) => $item instanceof OperationTypeDefinitionNode, $items); |
|
| 30 | + parent::__construct(fn($item) => $item instanceof OperationTypeDefinitionNode, $items); |
|
| 31 | 31 | } |
| 32 | 32 | } |