Merge pull request #24381 from owncloud/correc_typehint

Use correct typehint for the IProviderFactory
This commit is contained in:
Roeland Douma 2016-05-03 07:40:25 +02:00
commit ed3b9d5aff
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(