aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-10-11 09:20:11 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-10-11 09:20:11 +0200
commit97691c9f7d7af19260e02553ce501142224a706e (patch)
treebfbc7aa2cdb5fbf8a0690f4d2de56516b8f5755d
parent1a00f8c70aa5908be538e5521d9f9fba05021c7b (diff)
downloadWebsocket-97691c9f7d7af19260e02553ce501142224a706e.zip
Websocket-97691c9f7d7af19260e02553ce501142224a706e.tar.gz
Websocket-97691c9f7d7af19260e02553ce501142224a706e.tar.bz2
Quality: Fix CS.
-rw-r--r--Server.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Server.php b/Server.php
index 86f1227..972087e 100644
--- a/Server.php
+++ b/Server.php
@@ -90,9 +90,8 @@ class Server extends Connection
{
$connection = $this->getConnection();
- if (true === $connection->getSocket()->isSecured()
- && false === $connection->isEncrypted()
- ) {
+ if (true === $connection->getSocket()->isSecured() &&
+ false === $connection->isEncrypted()) {
$connection->enableEncryption(true, $connection::ENCRYPTION_TLS);
}