@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | abstract protected function fetch($type): TypeDefinition; |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @return iterable|TypeDefinition[] |
|
| 35 | + * @return \Generator |
|
| 36 | 36 | */ |
| 37 | 37 | public function getParents(): iterable |
| 38 | 38 | { |
@@ -61,7 +61,8 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @param TypeDefinition ...$definitions |
| 64 | - * @return ProvidesInheritance|$this |
|
| 64 | + * @param TypeDefinition[] $definitions |
|
| 65 | + * @return TypeDefinition[] |
|
| 65 | 66 | * @throws TypeConflictException |
| 66 | 67 | */ |
| 67 | 68 | public function extends(TypeDefinition ...$definitions): ProvidesInheritance |
@@ -88,7 +89,7 @@ discard block |
||
| 88 | 89 | } |
| 89 | 90 | |
| 90 | 91 | /** |
| 91 | - * @param string|TypeDefinition $type |
|
| 92 | + * @param TypeDefinition $type |
|
| 92 | 93 | * @return bool |
| 93 | 94 | */ |
| 94 | 95 | public function isExtends($type): bool |
@@ -71,6 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param int ...$values |
| 74 | + * @param integer[] $values |
|
| 74 | 75 | * @return ProvidesTypeIndication|$this |
| 75 | 76 | */ |
| 76 | 77 | public function withModifiers(int ...$values): ProvidesTypeIndication |
@@ -83,7 +84,7 @@ discard block |
||
| 83 | 84 | } |
| 84 | 85 | |
| 85 | 86 | /** |
| 86 | - * @param string|TypeDefinition $type |
|
| 87 | + * @param string $type |
|
| 87 | 88 | * @return ProvidesTypeIndication|$this |
| 88 | 89 | */ |
| 89 | 90 | public function withTypeDefinition($type): ProvidesTypeIndication |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Railt\Reflection\Contracts\Reflection as ReflectionInterface; |
| 16 | 16 | use Railt\Reflection\Dictionary\ProxyDictionary; |
| 17 | 17 | use Railt\Reflection\Dictionary\SimpleDictionary; |
| 18 | -use Railt\Reflection\Exception\ReflectionException; |
|
| 19 | 18 | use Railt\Reflection\Introspection\IntrospectionDocument; |
| 20 | 19 | use Railt\Reflection\Stdlib\StdlibDocument; |
| 21 | 20 | |