@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | * @param boolean $reply Is an answer expected? |
183 | 183 | * @param callable $sentcb Sent callback |
184 | 184 | * @callback $sentcb ( ) |
185 | - * @return callable |
|
185 | + * @return \Closure |
|
186 | 186 | */ |
187 | 187 | protected function requestCbProducer($opcode, $data, $reply = false, $sentcb = null) { |
188 | 188 | return function ($conn) use ($opcode, $data, $reply, $sentcb) { |
@@ -1482,6 +1482,9 @@ discard block |
||
1482 | 1482 | }, $session['conn']); |
1483 | 1483 | } |
1484 | 1484 | |
1485 | + /** |
|
1486 | + * @param \Closure $cb |
|
1487 | + */ |
|
1485 | 1488 | public function sasl_scrum_sha1_conversation($dbname, $query, $cb, $conn = null) |
1486 | 1489 | { |
1487 | 1490 | if ($this->safeMode) { |