fix PooledResultSet

This commit is contained in:
prolic 2018-09-15 21:38:56 +08:00
parent b9e7da3691
commit 9b667bafdf
No known key found for this signature in database
GPG Key ID: 29722F9F48E9DE59

View File

@ -23,13 +23,13 @@ class PooledResultSet implements ResultSet
($this->release)();
}
public function advance(int $type = self::FETCH_ASSOC): Promise
public function advance(): Promise
{
return $this->result->advance($type);
return $this->result->advance();
}
public function getCurrent()
public function getCurrent(int $type = self::FETCH_ASSOC)
{
return $this->result->getCurrent();
return $this->result->getCurrent($type);
}
}