Test Failed
Push — master ( b79e07...d820d2 )
by Kirill
02:16
created
src/Definition/InterfaceDefinition.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,16 +30,16 @@
 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
 
45 45
 
Please login to merge, or discard this patch.