@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @date 28.02.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\WebSocketsZMQ\Consumer; |
| 18 | 18 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $this->configuration->getPort() |
| 93 | 93 | )); |
| 94 | 94 | |
| 95 | - $this->socket->bind($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort()); |
|
| 95 | + $this->socket->bind($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort()); |
|
| 96 | 96 | |
| 97 | 97 | $this->socket->on('message', function ($data) use ($application) { |
| 98 | 98 | try { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 01.03.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\WebSocketsZMQ\DI; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @date 28.02.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\WebSocketsZMQ; |
| 18 | 18 | |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @date 01.03.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\WebSocketsZMQ\Pusher; |
| 18 | 18 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | return; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - $this->socket->disconnect($this->configuration->getHost() . ':' . $this->configuration->getPort()); |
|
| 89 | + $this->socket->disconnect($this->configuration->getHost().':'.$this->configuration->getPort()); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | $context = new ZMQContext(1, $this->configuration->isPersistent()); |
| 109 | 109 | |
| 110 | 110 | $this->socket = new ZMQSocket($context, ZMQ::SOCKET_PUSH); |
| 111 | - $this->socket->connect($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort()); |
|
| 111 | + $this->socket->connect($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort()); |
|
| 112 | 112 | |
| 113 | 113 | $this->setConnected(); |
| 114 | 114 | } |