Test Failed
Push — master ( ecd78b...d05c81 )
by Kirill
02:43
created
src/Frontend/AST/Definition/InterfaceDefinitionNode.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
      */
32 32
     public function getType(): TypeInterface
33 33
     {
34
-        return Type::of(Type::INTERFACE);
34
+        return Type::of(Type::interface);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/ValueInterface.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param TypeDefinition $type
38 38
      * @return bool
39 39
      */
40
-    public function instanceOf(TypeDefinition $type): bool;
40
+    public function instanceof(TypeDefinition $type): bool;
41 41
 
42 42
     /**
43 43
      * @param TypeInterface $type
Please login to merge, or discard this patch.
src/Frontend/IR/Value/AbstractValue.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * @param TypeDefinition $type
109 109
      * @return bool
110 110
      */
111
-    public function instanceOf(TypeDefinition $type): bool
111
+    public function instanceof(TypeDefinition $type): bool
112 112
     {
113 113
         return $this->type->instanceOf($type);
114 114
     }
Please login to merge, or discard this patch.