@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | return; |
79 | 79 | } |
80 | 80 | |
81 | - $this->socket->disconnect($this->configuration->getHost() . ':' . $this->configuration->getPort()); |
|
81 | + $this->socket->disconnect($this->configuration->getHost().':'.$this->configuration->getPort()); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $context = new \ZMQContext(1, $this->configuration->isPersistent()); |
99 | 99 | |
100 | 100 | $this->socket = new \ZMQSocket($context, \ZMQ::SOCKET_PUSH); |
101 | - $this->socket->connect($this->configuration->getProtocol() . '://' . $this->configuration->getHost() . ':' . $this->configuration->getPort()); |
|
101 | + $this->socket->connect($this->configuration->getProtocol().'://'.$this->configuration->getHost().':'.$this->configuration->getPort()); |
|
102 | 102 | |
103 | 103 | $this->setConnected(); |
104 | 104 | } |
@@ -92,7 +92,7 @@ |
||
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 { |