@@ -29,7 +29,7 @@  | 
                                                    ||
| 29 | 29 | *  | 
                                                        
| 30 | 30 | * @param array $config  | 
                                                        
| 31 | 31 | *  | 
                                                        
| 32 | - * @return bool  | 
                                                        |
| 32 | + * @return boolean|null  | 
                                                        |
| 33 | 33 | */  | 
                                                        
| 34 | 34 | public function connect(array $config)  | 
                                                        
| 35 | 35 |      { | 
                                                        
@@ -76,7 +76,7 @@  | 
                                                    ||
| 76 | 76 | return $deferred->reject($this->connection->error);  | 
                                                        
| 77 | 77 | }  | 
                                                        
| 78 | 78 | |
| 79 | -                $inner = Loop\periodic($this->poll, function () use (&$inner, $links, $errors, $rejects, $deferred) { | 
                                                        |
| 79 | +                $inner = Loop\periodic($this->poll, function() use (&$inner, $links, $errors, $rejects, $deferred) { | 
                                                        |
| 80 | 80 |                      if (mysqli_poll($links, $errors, $rejects, $this->poll)) { | 
                                                        
| 81 | 81 | $inner->stop();  | 
                                                        
| 82 | 82 | |
@@ -18,7 +18,7 @@  | 
                                                    ||
| 18 | 18 | "password" => "",  | 
                                                        
| 19 | 19 | ]);  | 
                                                        
| 20 | 20 | |
| 21 | -$server = new Server(function (RequestInterface $request, SocketInterface $socket) use ($connection) { | 
                                                        |
| 21 | +$server = new Server(function(RequestInterface $request, SocketInterface $socket) use ($connection) { | 
                                                        |
| 22 | 22 | yield $connection->query(  | 
                                                        
| 23 | 23 | "delete from test1"  | 
                                                        
| 24 | 24 | );  |