@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | foreach ($this->configurable as $setting) { |
142 | - if ( ! isset($config[$setting])) { |
|
142 | + if (!isset($config[$setting])) { |
|
143 | 143 | continue; |
144 | 144 | } |
145 | 145 | |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | ] |
170 | 170 | ]); |
171 | 171 | |
172 | - set_error_handler(function () {}); |
|
172 | + set_error_handler(function() {}); |
|
173 | 173 | $this->_connection = stream_socket_client("tls://{$this->host}:{$this->port}", |
174 | 174 | $errno, |
175 | 175 | $errstr, |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | ); |
180 | 180 | restore_error_handler(); |
181 | 181 | |
182 | - if ( ! $this->_connection) { |
|
182 | + if (!$this->_connection) { |
|
183 | 183 | throw new RuntimeException('Could not connect to host: ' |
184 | 184 | . $this->host |
185 | 185 | . ', port:' . $this->port |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | */ |
195 | 195 | protected function getConnection() |
196 | 196 | { |
197 | - if (! is_resource($this->_connection)) { |
|
197 | + if (!is_resource($this->_connection)) { |
|
198 | 198 | $this->disconnect(); |
199 | 199 | $this->connect(); |
200 | 200 | $this->login(); |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | return $this->_auth; |
218 | 218 | } |
219 | 219 | |
220 | - $writeBinn= new BinnList; |
|
220 | + $writeBinn = new BinnList; |
|
221 | 221 | |
222 | 222 | $writeBinn->addInt16(self::DAEMON_SERVER_MODE_AUTH); |
223 | 223 | $writeBinn->addStr($this->username); |