@@ -14,7 +14,6 @@ |
||
14 | 14 | use Psr\Log\LoggerInterface; |
15 | 15 | use Railt\Io\File; |
16 | 16 | use Railt\Io\Readable; |
17 | -use Railt\Reflection\Contracts\Document; |
|
18 | 17 | use Railt\Reflection\Contracts\Document as DocumentInterface; |
19 | 18 | use Railt\Reflection\Reflection; |
20 | 19 | use Railt\SDL\Compiler\Dictionary; |
@@ -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 | } |
@@ -16,6 +16,6 @@ |
||
16 | 16 | { |
17 | 17 | protected function parse(): void |
18 | 18 | { |
19 | - throw new \LogicException(__METHOD__ . ' not implemented yet'); |
|
19 | + throw new \LogicException(__METHOD__.' not implemented yet'); |
|
20 | 20 | } |
21 | 21 | } |