close cursor after loading a token
This commit is contained in:
parent
491e2654eb
commit
b0f2878f6e
|
@ -77,6 +77,7 @@ class DefaultTokenMapper extends Mapper {
|
|||
->execute();
|
||||
|
||||
$data = $result->fetch();
|
||||
$result->closeCursor();
|
||||
if ($data === false) {
|
||||
throw new DoesNotExistException('token does not exist');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue