Completed
Push — master ( 0ef884...67a9c4 )
by Christopher
02:54
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $this->connection,
87 87
         ];
88 88
 
89
-        $outer = Loop\periodic($this->poll, function () use (&$outer, $links, $errors, $rejects, $query, $deferred) {
89
+        $outer = Loop\periodic($this->poll, function() use (&$outer, $links, $errors, $rejects, $query, $deferred) {
90 90
             if ($this->ready) {
91 91
                 $this->ready = false;
92 92
                 $outer->stop();
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                     return $deferred->reject($this->connection->error);
99 99
                 }
100 100
 
101
-                $inner = Loop\periodic($this->poll, function () use (&$inner, $links, $errors, $rejects, $deferred) {
101
+                $inner = Loop\periodic($this->poll, function() use (&$inner, $links, $errors, $rejects, $deferred) {
102 102
                     if (mysqli_poll($links, $errors, $rejects, $this->poll)) {
103 103
                         $inner->stop();
104 104
 
Please login to merge, or discard this patch.