@@ -31,6 +31,6 @@ |
||
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 | } |
@@ -37,7 +37,7 @@ |
||
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 |
@@ -108,7 +108,7 @@ |
||
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 | } |