@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | foreach ($this->configurable as $setting) { |
143 | - if ( ! isset($config[$setting])) { |
|
143 | + if (!isset($config[$setting])) { |
|
144 | 144 | continue; |
145 | 145 | } |
146 | 146 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | ] |
171 | 171 | ]); |
172 | 172 | |
173 | - set_error_handler(function ($err_severity, $err_msg) { |
|
173 | + set_error_handler(function($err_severity, $err_msg) { |
|
174 | 174 | throw new RuntimeException($err_msg); |
175 | 175 | }); |
176 | 176 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | ); |
184 | 184 | restore_error_handler(); |
185 | 185 | |
186 | - if ( ! $this->_connection) { |
|
186 | + if (!$this->_connection) { |
|
187 | 187 | throw new RuntimeException('Could not connect to host: ' |
188 | 188 | . $this->host |
189 | 189 | . ', port:' . $this->port |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | */ |
201 | 201 | protected function getConnection() |
202 | 202 | { |
203 | - if (! is_resource($this->_connection)) { |
|
203 | + if (!is_resource($this->_connection)) { |
|
204 | 204 | $this->disconnect(); |
205 | 205 | $this->connect(); |
206 | 206 | } |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | return $this->_auth; |
312 | 312 | } |
313 | 313 | |
314 | - $writeBinn= new BinnList; |
|
314 | + $writeBinn = new BinnList; |
|
315 | 315 | |
316 | 316 | $writeBinn->addInt16(self::DAEMON_SERVER_MODE_AUTH); |
317 | 317 | $writeBinn->addStr($this->username); |