diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-09-02 10:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 10:08:08 +0200 |
commit | 388f2973b935567460ae76823df01be584b5b279 (patch) | |
tree | 3866b7db5170e314d77e81b34c585a15b508fb29 /lib/private/DB/Adapter.php | |
parent | dfcf3132dda2c74ca96a3972ae8d78b4eba55b88 (diff) | |
download | nextcloud-server-388f2973b935567460ae76823df01be584b5b279.tar.gz nextcloud-server-388f2973b935567460ae76823df01be584b5b279.zip |
fix: psalm
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private/DB/Adapter.php')
-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(); } |