Completed
Push — master ( 6a42b9...22fff6 )
by Kirill
06:10 queued 03:06
created
src/Compiler/Ast/Dependent/ArgumentDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return null|ValueInterface|NodeInterface
43
+     * @return ValueInterface|null
44 44
      */
45 45
     public function getDefaultValue(): ?ValueInterface
46 46
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/FieldDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return iterable|ArgumentDefinitionNode[]
42
+     * @return \Generator
43 43
      */
44 44
     public function getArguments(): iterable
45 45
     {
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/TypeDefinitionProcessor.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 abstract class TypeDefinitionProcessor extends BaseProcessor
26 26
 {
27 27
     /**
28
-     * @param RuleInterface|DescriptionProvider $ast
28
+     * @param RuleInterface $ast
29 29
      * @param TypeDefinition|AbstractTypeDefinition $definition
30 30
      */
31 31
     protected function processDefinition(RuleInterface $ast, TypeDefinition $definition): void
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param RuleInterface|DirectivesProvider $ast
42
+     * @param RuleInterface $ast
43 43
      * @param TypeDefinition|AbstractTypeDefinition $definition
44 44
      */
45 45
     protected function processDirectives(RuleInterface $ast, TypeDefinition $definition): void
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected function processDefinition(RuleInterface $ast, TypeDefinition $definition): void
32 32
     {
33
-        $this->immediately(function () use ($ast, $definition): void {
34
-            $this->transaction($definition, function () use ($ast, $definition): void {
33
+        $this->immediately(function() use ($ast, $definition): void {
34
+            $this->transaction($definition, function() use ($ast, $definition): void {
35 35
                 $definition->withOffset($ast->getOffset());
36 36
                 $definition->withDescription($ast->getDescription());
37 37
             });
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function processDirectives(RuleInterface $ast, TypeDefinition $definition): void
46 46
     {
47
-        $this->future(function () use ($ast, $definition): void {
48
-            $this->transaction($definition, function () use ($ast, $definition): void {
47
+        $this->future(function() use ($ast, $definition): void {
48
+            $this->transaction($definition, function() use ($ast, $definition): void {
49 49
                 foreach ($ast->getDirectives() as $child) {
50 50
                     $directive = $child->getTypeInvocation($this->document);
51 51
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     private function processDirective(DirectiveNode $ast, DirectiveInvocation $directive): void
66 66
     {
67
-        $this->transaction($directive, function () use ($ast, $directive): void {
67
+        $this->transaction($directive, function() use ($ast, $directive): void {
68 68
             foreach ($ast->getDirectiveArguments() as $child) {
69 69
                 $argument = $child->getTypeInvocation($directive);
70 70
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     private function processDirectiveArguments(ArgumentInvocation $argument): void
83 83
     {
84
-        $this->transaction($argument, function () use ($argument): void {
84
+        $this->transaction($argument, function() use ($argument): void {
85 85
             // TODO
86 86
         });
87 87
     }
Please login to merge, or discard this patch.
src/Compiler/Ast/Common/FieldsProviders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 trait FieldsProviders
18 18
 {
19 19
     /**
20
-     * @return iterable|FieldDefinitionNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getFields(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Common/ImplementationsProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 trait ImplementationsProvider
18 18
 {
19 19
     /**
20
-     * @return iterable|TypeNameNode
20
+     * @return \Generator
21 21
      */
22 22
     public function getImplementations(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Invocation/DirectiveNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return iterable|DirectiveArgumentNode[]
43
+     * @return \Generator
44 44
      */
45 45
     public function getDirectiveArguments(): iterable
46 46
     {
Please login to merge, or discard this patch.