Test Setup Failed
Push — master ( e8c39a...45e116 )
by Kirill
02:51 queued 12s
created
src/Ast/Generic/ValueCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/ArgumentCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/EnumValueDefinitionCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/FieldDefinitionCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/NamesCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/DirectiveCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/VariableDefinitionCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/Generic/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Ast/Generic/OperationTypeDefinitionCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.