@@ -153,7 +153,7 @@ |
||
| 153 | 153 | |
| 154 | 154 | $this->wsClient = new WebSocket($address, $this->eventLoop, $this->logger); |
| 155 | 155 | |
| 156 | - $this->wsClient->on("message", function (WebSocketMessage $rawMessage) { |
|
| 156 | + $this->wsClient->on("message", function(WebSocketMessage $rawMessage) { |
|
| 157 | 157 | $message = new Message($rawMessage->getData()); |
| 158 | 158 | |
| 159 | 159 | $eventType = '\\phparia\\Events\\'.$message->getType(); |
@@ -453,7 +453,7 @@ |
||
| 453 | 453 | * @param string $channelId |
| 454 | 454 | * @param string $variable |
| 455 | 455 | * @param null|string $default The value to return if the variable does not exist |
| 456 | - * @return string|Variable |
|
| 456 | + * @return Variable |
|
| 457 | 457 | * @throws ConflictException |
| 458 | 458 | * @throws InvalidParameterException |
| 459 | 459 | * @throws NotFoundException |