Merge pull request #122 from tab-engineer/patch-3

优化代码
This commit is contained in:
LIU JIAN 2022-09-27 14:01:21 +08:00 committed by GitHub
commit 8d7b73dccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,7 @@ class Connection extends AbstractConnection
*/
protected function inTransaction(): bool
{
if ($this instanceof Multi) {
return true;
}
return false;
return $this instanceof Multi;
}
/**