Test Setup Failed
Push — master ( 050b68...43996d )
by Kirill
03:02
created
src/Backend/Linker/LinkerVisitor.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             // Note: Skip type loading if type is part of type template parameter.
105 105
             //
106 106
             case $node instanceof NamedTypeNode:
107
-                if (! \in_array($node->name->value, $this->genericArguments, true)) {
107
+                if (!\in_array($node->name->value, $this->genericArguments, true)) {
108 108
                     $this->assertTypeExists($node);
109 109
                 }
110 110
 
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
      */
126 126
     private function assertTypeExists(NamedTypeNode $name): void
127 127
     {
128
-        if (! $this->context->hasType($name->name->value)) {
129
-            $this->loadOr($name->name->value, function () use ($name): void {
128
+        if (!$this->context->hasType($name->name->value)) {
129
+            $this->loadOr($name->name->value, function() use ($name): void {
130 130
                 throw $this->typeNotFound($name);
131 131
             });
132 132
         }
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
      */
183 183
     private function assertDirectiveExists(NamedDirectiveNode $name): void
184 184
     {
185
-        if (! $this->context->hasDirective($name->name->value)) {
186
-            $this->loadOr('@' . $name->name->value, function () use ($name): void {
185
+        if (!$this->context->hasDirective($name->name->value)) {
186
+            $this->loadOr('@' . $name->name->value, function() use ($name): void {
187 187
                 throw $this->directiveNotFound($name);
188 188
             });
189 189
         }
Please login to merge, or discard this patch.
src/Backend/Context/TypeDefinitionContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         parent::__construct($ast);
41 41
 
42 42
         $this->name = $ast->name->value;
43
-        $this->args = \array_map(fn (Identifier $id) => $id->value, $ast->name->arguments);
43
+        $this->args = \array_map(fn(Identifier $id) => $id->value, $ast->name->arguments);
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.