Completed
Push — master ( bb00ac...e3b5b4 )
by Kirill
330:24 queued 149:31
created
src/Frontend/AST/Definition/UnionDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 class UnionDefinitionNode extends TypeDefinitionNode
16 16
 {
17 17
     /**
18
-     * @return iterable|string[]
18
+     * @return \Generator
19 19
      */
20 20
     public function getUnionDefinitions(): iterable
21 21
     {
Please login to merge, or discard this patch.
src/Frontend/Builder.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param Readable $readable
37 37
      * @param RuleInterface $ast
38
-     * @return \Generator|RuleInterface[]|Definition[]
38
+     * @return \Generator
39 39
      * @throws \LogicException
40 40
      */
41 41
     public function build(Readable $readable, RuleInterface $ast)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      * @return \Generator
81 81
      * @throws \LogicException
82 82
      */
83
-    private function forEach(Readable $readable, RuleInterface $ast): \Generator
83
+    private function forEach (Readable $readable, RuleInterface $ast): \Generator
84 84
     {
85 85
         $builder = $this->factory->resolve($readable, $ast);
86 86
         $result  = $builder->build($readable, $ast);
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      * @return \Generator
81 81
      * @throws \LogicException
82 82
      */
83
-    private function forEach(Readable $readable, RuleInterface $ast): \Generator
83
+    private function foreach(Readable $readable, RuleInterface $ast): \Generator
84 84
     {
85 85
         $builder = $this->factory->resolve($readable, $ast);
86 86
         $result  = $builder->build($readable, $ast);
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/DirectiveBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * @param Readable $file
27 27
      * @param RuleInterface|DirectiveDefinitionNode $ast
28
-     * @return \Generator|mixed
28
+     * @return TypeDefinition
29 29
      */
30 30
     public function build(Readable $file, RuleInterface $ast)
31 31
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/EnumBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|EnumDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/FieldBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|FieldDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/InputBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|InputDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/InterfaceBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|InterfaceDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $interface = new TypeDefinition($ast->getFullName());
32 32
         $interface->in($file, $ast->getOffset());
33 33
 
34
-        $interface->type        = Type::of(Type::INTERFACE);
34
+        $interface->type        = Type::of(Type::interface);
35 35
         $interface->description = $ast->getDescription();
36 36
 
37 37
         $this->loadInterfaces($ast, $interface);
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/ObjectBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|ObjectDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param Readable $file
28 28
      * @param RuleInterface|SchemaDefinitionNode $ast
29
-     * @return \Generator|mixed
29
+     * @return \Generator
30 30
      */
31 31
     public function build(Readable $file, RuleInterface $ast)
32 32
     {
Please login to merge, or discard this patch.