@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @param TypeInterface $type |
| 57 | 57 | * @return bool |
| 58 | 58 | */ |
| 59 | - public function instanceOf(TypeInterface $type): bool |
|
| 59 | + public function instanceof(TypeInterface $type): bool |
|
| 60 | 60 | { |
| 61 | 61 | return $this->is($type) || $this->parent->instanceOf($type); |
| 62 | 62 | } |
@@ -29,5 +29,5 @@ |
||
| 29 | 29 | * @param TypeInterface $type |
| 30 | 30 | * @return bool |
| 31 | 31 | */ |
| 32 | - public function instanceOf(TypeInterface $type): bool; |
|
| 32 | + public function instanceof(TypeInterface $type): bool; |
|
| 33 | 33 | } |