@@ -51,5 +51,5 @@ |
||
51 | 51 | * @param TypeDefinition|string $definition |
52 | 52 | * @return bool |
53 | 53 | */ |
54 | - public function instanceOf($definition): bool; |
|
54 | + public function instanceof($definition): bool; |
|
55 | 55 | } |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @param TypeDefinition|string $type |
103 | 103 | * @return bool |
104 | 104 | */ |
105 | - public function instanceOf($type): bool |
|
105 | + public function instanceof($type): bool |
|
106 | 106 | { |
107 | 107 | $context = $this->extends; |
108 | 108 |