Test Failed
Push — master ( ab5890...690c53 )
by Kirill
02:48
created
src/Definition/Behaviour/HasInheritance.php 2 patches
Doc Comments   +2 added lines, -2 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 inheritedBy(): iterable
40 40
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param TypeDefinition|string $type
102
+     * @param TypeDefinition $type
103 103
      * @return bool
104 104
      */
105 105
     public function instanceOf($type): bool
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @param TypeDefinition|string $type
103 103
      * @return bool
104 104
      */
105
-    public function instanceOf($type): bool
105
+    public function instanceof($type): bool
106 106
     {
107 107
         $context = $this->extends;
108 108
 
Please login to merge, or discard this patch.
src/Contracts/Definition/Behaviour/ProvidesInheritance.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,5 +51,5 @@
 block discarded – undo
51 51
      * @param TypeDefinition|string $definition
52 52
      * @return bool
53 53
      */
54
-    public function instanceOf($definition): bool;
54
+    public function instanceof($definition): bool;
55 55
 }
Please login to merge, or discard this patch.