mirror of
https://gitee.com/mix-php/mix.git
synced 2024-12-01 19:28:07 +08:00
commit
8d7b73dccf
@ -14,10 +14,7 @@ class Connection extends AbstractConnection
|
||||
*/
|
||||
protected function inTransaction(): bool
|
||||
{
|
||||
if ($this instanceof Multi) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return $this instanceof Multi;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user