@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use React\EventLoop\LoopInterface; |
| 7 | 7 | use React\Promise\FulfilledPromise; |
| 8 | 8 | use React\Stream\ReadableResourceStream; |
| 9 | -use React\Stream\Stream; |
|
| 10 | 9 | use React\Stream\Util; |
| 11 | 10 | use React\Stream\WritableResourceStream; |
| 12 | 11 | use WyriHaximus\React\ChildProcess\Messenger\Messages\Factory as MessengesFactory; |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | /** |
| 135 | 135 | * @param $target |
| 136 | 136 | * @param $payload |
| 137 | - * @return React\Promise\PromiseInterface |
|
| 137 | + * @return PromiseInterface |
|
| 138 | 138 | */ |
| 139 | 139 | public function callRpc($target, $payload) |
| 140 | 140 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | 195 | * @param ActionableMessageInterface $line |
| 196 | - * @return LineInterface |
|
| 196 | + * @return string |
|
| 197 | 197 | */ |
| 198 | 198 | public function createLine(ActionableMessageInterface $line) |
| 199 | 199 | { |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | } |
| 212 | 212 | |
| 213 | 213 | /** |
| 214 | - * @return Stream |
|
| 214 | + * @return ReadableStreamInterface |
|
| 215 | 215 | */ |
| 216 | 216 | public function getStdin() |
| 217 | 217 | { |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | /** |
| 222 | - * @return Stream |
|
| 222 | + * @return WritableStreamInterface |
|
| 223 | 223 | */ |
| 224 | 224 | public function getStdout() |
| 225 | 225 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @return Stream |
|
| 230 | + * @return WritableStreamInterface |
|
| 231 | 231 | */ |
| 232 | 232 | public function getStderr() |
| 233 | 233 | { |