@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @return iterable|InterfaceDefinition[] |
|
| 53 | + * @return \Generator |
|
| 54 | 54 | */ |
| 55 | 55 | public function getInterfaces(): iterable |
| 56 | 56 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param InterfaceDefinition $definition |
| 88 | - * @return ProvidesInterfaces |
|
| 88 | + * @return HasInterfaces |
|
| 89 | 89 | */ |
| 90 | 90 | public function withInterface(InterfaceDefinition $definition): ProvidesInterfaces |
| 91 | 91 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | 69 | * @param int $value |
| 70 | - * @return ProvidesTypeIndication |
|
| 70 | + * @return HasTypeIndication |
|
| 71 | 71 | */ |
| 72 | 72 | public function withModifiers(int $value): ProvidesTypeIndication |
| 73 | 73 | { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * @param string $name |
| 81 | - * @return ProvidesTypeIndication |
|
| 81 | + * @return HasTypeIndication |
|
| 82 | 82 | */ |
| 83 | 83 | public function withTypeDefinition(string $name): ProvidesTypeIndication |
| 84 | 84 | { |