Use correct typehint

This commit is contained in:
Roeland Jago Douma 2016-05-02 11:59:54 +02:00
parent 5a62c74495
commit eb1d5fdaf8
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 1 additions and 1 deletions

View File

@ -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(