summaryrefslogtreecommitdiffstats
path: root/apps/testing/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/testing/lib')
-rw-r--r--apps/testing/lib/Locking/FakeDBLockingProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/testing/lib/Locking/FakeDBLockingProvider.php b/apps/testing/lib/Locking/FakeDBLockingProvider.php
index 174cc2ec7fe..f656150da3b 100644
--- a/apps/testing/lib/Locking/FakeDBLockingProvider.php
+++ b/apps/testing/lib/Locking/FakeDBLockingProvider.php
@@ -51,7 +51,7 @@ class FakeDBLockingProvider extends \OC\Lock\DBLockingProvider {
* @param string $path
* @param int $type self::LOCK_SHARED or self::LOCK_EXCLUSIVE
*/
- public function releaseLock($path, $type) {
+ public function releaseLock(string $path, int $type) {
// we DONT keep shared locks till the end of the request
if ($type === self::LOCK_SHARED) {
$this->db->executeUpdate(