Completed
Push — master ( 690c53...b92a26 )
by Kirill
03:02
created
src/Definition/Behaviour/HasInheritance.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      * @param TypeDefinition|string $type
104 104
      * @return bool
105 105
      */
106
-    public function instanceOf($type): bool
106
+    public function instanceof($type): bool
107 107
     {
108 108
         /**
109 109
          * @var TypeDefinition $type
Please login to merge, or discard this patch.
src/Definition/InterfaceDefinition.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
      */
31 31
     public static function getType(): TypeInterface
32 32
     {
33
-        return Type::of(Type::INTERFACE);
33
+        return Type::of(Type::interface);
34 34
     }
35 35
 
36 36
     /**
37 37
      * @param TypeDefinition $definition
38 38
      * @return bool
39 39
      */
40
-    public function instanceOf($definition): bool
40
+    public function instanceof($definition): bool
41 41
     {
42
-        return $this->isImplements($definition) || parent::instanceOf($definition);
42
+        return $this->isImplements($definition) || parent::instanceof($definition);
43 43
     }
44 44
 }
Please login to merge, or discard this patch.