@@ -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 ($err_severity, $err_msg) { |
|
| 172 | + set_error_handler(function($err_severity, $err_msg) { |
|
| 173 | 173 | throw new RuntimeException($err_msg); |
| 174 | 174 | }); |
| 175 | 175 | |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | ); |
| 183 | 183 | restore_error_handler(); |
| 184 | 184 | |
| 185 | - if ( ! $this->_connection) { |
|
| 185 | + if (!$this->_connection) { |
|
| 186 | 186 | throw new RuntimeException('Could not connect to host: ' |
| 187 | 187 | . $this->host |
| 188 | 188 | . ', port:' . $this->port |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | */ |
| 198 | 198 | protected function getConnection() |
| 199 | 199 | { |
| 200 | - if (! is_resource($this->_connection)) { |
|
| 200 | + if (!is_resource($this->_connection)) { |
|
| 201 | 201 | $this->disconnect(); |
| 202 | 202 | $this->connect(); |
| 203 | 203 | $this->login(); |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | return $this->_auth; |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | - $writeBinn= new BinnList; |
|
| 223 | + $writeBinn = new BinnList; |
|
| 224 | 224 | |
| 225 | 225 | $writeBinn->addInt16(self::DAEMON_SERVER_MODE_AUTH); |
| 226 | 226 | $writeBinn->addStr($this->username); |