@@ -30,16 +30,16 @@ |
||
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 |