Test Failed
Push — master ( 3b7232...dbe410 )
by Kirill
02:20
created
src/Definition/Behaviour/HasInheritance.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     protected $parents = [];
26 26
 
27 27
     /**
28
-     * @return iterable|TypeDefinition[]
28
+     * @return \Generator
29 29
      */
30 30
     public function getParents(): iterable
31 31
     {
@@ -54,7 +54,8 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param TypeDefinition ...$definitions
57
-     * @return ProvidesInheritance|$this
57
+     * @param TypeDefinition[] $definitions
58
+     * @return TypeDefinition[]
58 59
      * @throws TypeConflictException
59 60
      */
60 61
     public function extends(TypeDefinition ...$definitions): ProvidesInheritance
Please login to merge, or discard this patch.
src/Definition/Behaviour/HasInterfaces.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return iterable|InterfaceDefinition[]
53
+     * @return \Generator
54 54
      */
55 55
     public function getInterfaces(): iterable
56 56
     {
@@ -79,6 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * @param InterfaceDefinition ...$interfaces
82
+     * @param InterfaceDefinition[] $interfaces
82 83
      * @return ProvidesInterfaces|$this
83 84
      */
84 85
     public function implements(InterfaceDefinition ...$interfaces): ProvidesInterfaces
Please login to merge, or discard this patch.
src/Definition/Behaviour/HasTypeIndication.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@
 block discarded – undo
67 67
 
68 68
     /**
69 69
      * @param int ...$values
70
+     * @param integer[] $values
70 71
      * @return ProvidesTypeIndication|$this
71 72
      */
72 73
     public function withModifiers(int ...$values): ProvidesTypeIndication
Please login to merge, or discard this patch.