Passed
Push — master ( d7f047...595d53 )
by Nikita
03:09
created
src/Gdaemon.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.