@@ -109,7 +109,7 @@ |
||
109 | 109 | /** |
110 | 110 | * {@inheritDoc} |
111 | 111 | */ |
112 | - public function instanceOf(TypeInterface $type): bool |
|
112 | + public function instanceof(TypeInterface $type): bool |
|
113 | 113 | { |
114 | 114 | $needle = $type->getName()->getFullyQualifiedName(); |
115 | 115 |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | /** |
33 | 33 | * @var string |
34 | 34 | */ |
35 | - public const INTERFACE = 'Interface'; |
|
35 | + public const interface = 'Interface'; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @var string |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @var string[]|array[] |
64 | 64 | */ |
65 | 65 | public const INHERITANCE_TREE = [ |
66 | - self::INTERFACE => [ |
|
66 | + self::interface => [ |
|
67 | 67 | self::OBJECT => [ |
68 | 68 | self::INPUT_OBJECT, |
69 | 69 | ], |
@@ -103,5 +103,5 @@ discard block |
||
103 | 103 | * @param TypeInterface $type |
104 | 104 | * @return bool |
105 | 105 | */ |
106 | - public function instanceOf(self $type): bool; |
|
106 | + public function instanceof(self $type): bool; |
|
107 | 107 | } |