Use correct typehint
This commit is contained in:
parent
5a62c74495
commit
eb1d5fdaf8
|
@ -623,7 +623,7 @@ class Server extends ServerContainer implements IServerContainer {
|
||||||
$this->registerService('ShareManager', function(Server $c) {
|
$this->registerService('ShareManager', function(Server $c) {
|
||||||
$config = $c->getConfig();
|
$config = $c->getConfig();
|
||||||
$factoryClass = $config->getSystemValue('sharing.managerFactory', '\OC\Share20\ProviderFactory');
|
$factoryClass = $config->getSystemValue('sharing.managerFactory', '\OC\Share20\ProviderFactory');
|
||||||
/** @var \OC\Share20\IProviderFactory $factory */
|
/** @var \OCP\Share\IProviderFactory $factory */
|
||||||
$factory = new $factoryClass($this);
|
$factory = new $factoryClass($this);
|
||||||
|
|
||||||
$manager = new \OC\Share20\Manager(
|
$manager = new \OC\Share20\Manager(
|
||||||
|
|
Loading…
Reference in New Issue