Skip to content

Commit ff16530

Browse files
committed
Fixed coding style
1 parent d62d048 commit ff16530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/stomp/StompConnectionFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ private function establishConnection()
7676
if (false == $this->stomp) {
7777
$config = $this->config;
7878

79-
$scheme = ($config['ssl_on'] === true) ? 'ssl' : 'tcp';
80-
$uri = $scheme . '://' . $config['host'] . ':' . $config['port'];
79+
$scheme = (true === $config['ssl_on']) ? 'ssl' : 'tcp';
80+
$uri = $scheme.'://'.$config['host'].':'.$config['port'];
8181
$connection = new Connection($uri, $config['connection_timeout']);
8282

8383
$this->stomp = new BufferedStompClient($connection, $config['buffer_size']);

0 commit comments

Comments
 (0)