@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param string $name |
| 60 | - * @param mixed $value |
|
| 60 | + * @param string $value |
|
| 61 | 61 | * @return self |
| 62 | 62 | */ |
| 63 | 63 | public function add(string $name, $value) |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | /** |
| 141 | 141 | * It also run checks on data. |
| 142 | 142 | * |
| 143 | - * @param string|int $rawData Probably more likely a string than an int, but well... why not. |
|
| 143 | + * @param string $rawData Probably more likely a string than an int, but well... why not. |
|
| 144 | 144 | * @return self |
| 145 | 145 | * @throws IncompleteFrameException |
| 146 | 146 | */ |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use Nekland\Woketo\Rfc6455\ServerHandshake; |
| 25 | 25 | use Nekland\Woketo\Utils\SimpleLogger; |
| 26 | 26 | use Psr\Log\LoggerInterface; |
| 27 | -use Psr\Log\LogLevel; |
|
| 28 | 27 | use React\EventLoop\LoopInterface; |
| 29 | 28 | use React\Socket\ConnectionInterface; |
| 30 | 29 | use React\Socket\ServerInterface; |