@@ -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 |