Skip to content

Commit

Permalink
fixup! fixup! Add public API for owner based locking
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Mar 25, 2022
1 parent 1959c3d commit 8fdc3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ public function __construct($webRoot, \OC\Config $config) {
/** @deprecated 19.0.0 */
$this->registerDeprecatedAlias('LockingProvider', ILockingProvider::class);

$this->registerService(ILockManager::class, function (Server $c) {
$this->registerService(ILockManager::class, function (Server $c): LockManager {
return new LockManager();
});

Expand Down

0 comments on commit 8fdc3c4

Please sign in to comment.