@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * @param array $payload |
| 41 | 41 | * |
| 42 | - * @return Exception|Throwable |
|
| 42 | + * @return Error |
|
| 43 | 43 | */ |
| 44 | 44 | public static function error($payload) |
| 45 | 45 | { |
@@ -60,10 +60,9 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @param mixed $uniqid |
| 63 | - * @param Exception|Throwable $payload |
|
| 64 | 63 | * @param mixed $et |
| 65 | 64 | * |
| 66 | - * @return Rpc |
|
| 65 | + * @return RpcError |
|
| 67 | 66 | */ |
| 68 | 67 | public static function rpcError($uniqid, $et) |
| 69 | 68 | { |
@@ -138,7 +137,7 @@ discard block |
||
| 138 | 137 | /** |
| 139 | 138 | * @param array $line |
| 140 | 139 | * |
| 141 | - * @return Rpc |
|
| 140 | + * @return RpcError |
|
| 142 | 141 | */ |
| 143 | 142 | protected static function rpcErrorFromLine(array $line) |
| 144 | 143 | { |
@@ -156,7 +155,7 @@ discard block |
||
| 156 | 155 | |
| 157 | 156 | /** |
| 158 | 157 | * @param array $line |
| 159 | - * @return RpcSuccess |
|
| 158 | + * @return RpcNotify |
|
| 160 | 159 | */ |
| 161 | 160 | protected static function rpcNotifyFromLine(array $line) |
| 162 | 161 | { |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param string $process |
|
| 40 | 39 | * @param LoopInterface $loop |
| 41 | 40 | * @param array $options |
| 42 | 41 | * @param mixed $class |