diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
index d05cd6d2e6d..7209450745c 100644
--- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
@@ -90,7 +90,7 @@ class FakeLockerPlugin extends ServerPlugin {
*/
public function propFind(PropFind $propFind, INode $node) {
$propFind->handle('{DAV:}supportedlock', function () {
- return new SupportedLock(true);
+ return new SupportedLock();
});
$propFind->handle('{DAV:}lockdiscovery', function () use ($propFind) {
return new LockDiscovery([]);
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index ec96d584379..9aeb1f42197 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -463,11 +463,6 @@
\Sabre\Uri\split($sourceNode->getPath())
-
-
- new SupportedLock(true)
-
-
$data