Test Failed
Push — master ( 63826d...8b4c91 )
by Kirill
02:24
created
src/Contracts/Definition/Behaviour/ProvidesInheritance.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,12 +22,11 @@
 block discarded – undo
22 22
     public function getParentInheritance(): ?TypeDefinition;
23 23
 
24 24
     /**
25
-     * @return iterable|TypeDefinition[]
25
+     * @return \Generator
26 26
      */
27 27
     public function getChildrenInheritance(): iterable;
28 28
 
29 29
     /**
30
-     * @param string $name
31 30
      * @return bool
32 31
      */
33 32
     public function hasParent(): bool;
Please login to merge, or discard this patch.
src/Definition/Behaviour/HasInheritance.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     abstract protected function fetch($type): TypeDefinition;
35 35
 
36 36
     /**
37
-     * @return iterable|TypeDefinition[]
37
+     * @return \Generator
38 38
      */
39 39
     public function getChildrenInheritance(): iterable
40 40
     {
@@ -52,7 +52,6 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param string $name
56 55
      * @return bool
57 56
      */
58 57
     public function hasParent(): bool
@@ -84,7 +83,7 @@  discard block
 block discarded – undo
84 83
     }
85 84
 
86 85
     /**
87
-     * @param string|TypeDefinition $type
86
+     * @param TypeDefinition $type
88 87
      * @return bool
89 88
      */
90 89
     public function isExtends($type): bool
Please login to merge, or discard this patch.