@@ -558,7 +558,7 @@ |
||
| 558 | 558 | * @param string $type |
| 559 | 559 | * @param bool $masked |
| 560 | 560 | * |
| 561 | - * @return bool|string |
|
| 561 | + * @return false|string |
|
| 562 | 562 | */ |
| 563 | 563 | private function hybi10Encode(string $payload, string $type = 'text', bool $masked = TRUE) |
| 564 | 564 | { |
@@ -18,10 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Nette; |
| 20 | 20 | use Nette\Utils; |
| 21 | - |
|
| 22 | 21 | use React\EventLoop; |
| 23 | 22 | use React\Stream; |
| 24 | - |
|
| 25 | 23 | use IPub\WebSocketsWAMPClient\Exceptions; |
| 26 | 24 | |
| 27 | 25 | /** |
@@ -17,9 +17,7 @@ |
||
| 17 | 17 | namespace IPub\WebSocketsWAMPClient\Logger; |
| 18 | 18 | |
| 19 | 19 | use Nette; |
| 20 | - |
|
| 21 | 20 | use Psr\Log; |
| 22 | - |
|
| 23 | 21 | use IPub; |
| 24 | 22 | |
| 25 | 23 | /** |