@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | try { |
| 20 | 20 | $this->logger->info('Attempting to push message', ['data' => $data, 'topic' => $topic]); |
| 21 | - $webSocketClient = new Client('localhost', '8080'); |
|
| 21 | + $webSocketClient = new Client('localhost', '8080'); |
|
| 22 | 22 | $webSocketClient->connect(); |
| 23 | 23 | $webSocketClient->publish($topic, json_encode($data)); |
| 24 | 24 | $webSocketClient->disconnect(); |