mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Use correct typehint
This commit is contained in:
@@ -623,7 +623,7 @@ class Server extends ServerContainer implements IServerContainer {
|
||||
$this->registerService('ShareManager', function(Server $c) {
|
||||
$config = $c->getConfig();
|
||||
$factoryClass = $config->getSystemValue('sharing.managerFactory', '\OC\Share20\ProviderFactory');
|
||||
/** @var \OC\Share20\IProviderFactory $factory */
|
||||
/** @var \OCP\Share\IProviderFactory $factory */
|
||||
$factory = new $factoryClass($this);
|
||||
|
||||
$manager = new \OC\Share20\Manager(
|
||||
|
||||
Reference in New Issue
Block a user