Completed
Branch master (34c561)
by Christopher
05:53
created
src/Connection/MySQLConnection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
examples/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     );
Please login to merge, or discard this patch.