diff --git a/system/Database/SQLSRV/Connection.php b/system/Database/SQLSRV/Connection.php index c0460bf511df..58274d093dec 100755 --- a/system/Database/SQLSRV/Connection.php +++ b/system/Database/SQLSRV/Connection.php @@ -13,7 +13,6 @@ namespace CodeIgniter\Database\SQLSRV; -use BadMethodCallException; use CodeIgniter\Database\BaseConnection; use CodeIgniter\Database\Exceptions\DatabaseException; use CodeIgniter\Database\SavepointsForNestedTransactions; @@ -569,7 +568,8 @@ public function isWriteType($sql): bool return parent::isWriteType($sql); } - protected function _savepointQuery($create, $commit): string { + protected function _savepointQuery($create, $commit): string + { return $create ? 'SAVE' : ($commit ? 'COMMIT' : 'ROLLBACK') . ' TRANSACTION'; } }