diff options
-rw-r--r-- | lib/private/DB/Adapter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/Adapter.php b/lib/private/DB/Adapter.php index ad853bf0cf1..b6f098b1e59 100644 --- a/lib/private/DB/Adapter.php +++ b/lib/private/DB/Adapter.php @@ -49,7 +49,7 @@ class Adapter { * @throws Exception * @since 9.1.0 */ - public function lockTable(string $tableName): void { + public function lockTable(string $tableName) { $this->conn->beginTransaction(); $this->conn->executeUpdate('LOCK TABLE `' .$tableName . '` IN EXCLUSIVE MODE'); } @@ -60,7 +60,7 @@ class Adapter { * @throws Exception * @since 9.1.0 */ - public function unlockTable(): void { + public function unlockTable() { $this->conn->commit(); } |