@@ -184,10 +184,10 @@ |
||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | - * @param $final |
|
| 188 | - * @param $payload |
|
| 189 | - * @param $opcode |
|
| 190 | - * @param $masked |
|
| 187 | + * @param boolean $final |
|
| 188 | + * @param string $payload |
|
| 189 | + * @param string $opcode |
|
| 190 | + * @param boolean $masked |
|
| 191 | 191 | * @throws ConnectionException |
| 192 | 192 | * @throws \Exception |
| 193 | 193 | */ |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @return mixed|resource |
|
| 157 | + * @return resource|null |
|
| 158 | 158 | * @throws \InvalidArgumentException |
| 159 | 159 | */ |
| 160 | 160 | private function getStreamContext() |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | /** |
| 258 | 258 | * Sends message to opened socket connection client->server |
| 259 | 259 | * |
| 260 | - * @param $payload |
|
| 260 | + * @param string $payload |
|
| 261 | 261 | * @param string $opcode |
| 262 | 262 | * @throws \InvalidArgumentException |
| 263 | 263 | * @throws BadOpcodeException |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | * |
| 330 | 330 | * @param integer $status http://tools.ietf.org/html/rfc6455#section-7.4 |
| 331 | 331 | * @param string $message A closing message, max 125 bytes. |
| 332 | - * @return bool|null|string |
|
| 332 | + * @return null|string |
|
| 333 | 333 | * @throws \InvalidArgumentException |
| 334 | 334 | * @throws BadOpcodeException |
| 335 | 335 | * @throws BadUriException |