This commit is contained in:
2021-06-24 18:12:45 +08:00
parent 7e7652795d
commit fbe83aff27
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ class Connection extends Pool
* @param bool $isMaster
* @throws Exception
*/
public function disconnect($coroutineName, $isMaster = false)
public function disconnect($coroutineName, bool $isMaster = false)
{
$coroutineName = $this->name($coroutineName, $isMaster);
$this->clean($coroutineName);