@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @date 14.03.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\MQTTClient\Client; |
| 18 | 18 | |
@@ -115,10 +115,10 @@ discard block |
||
| 115 | 115 | public function getUri() : string |
| 116 | 116 | { |
| 117 | 117 | if ($this->httpHost !== NULL) { |
| 118 | - return $this->httpHost . ':' . $this->port; |
|
| 118 | + return $this->httpHost.':'.$this->port; |
|
| 119 | 119 | |
| 120 | 120 | } elseif ($this->address !== NULL) { |
| 121 | - return $this->address . ':' . $this->port; |
|
| 121 | + return $this->address.':'.$this->port; |
|
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | throw new Exceptions\InvalidStateException('Broker http host or address is not specified'); |