Merge pull request #12259 from owncloud/app-enabled-plugin-appmanager

Fix type hinting for app manager
remotes/origin/fix-10825
Lukas Reschke 10 years ago
commit 309788003d
  1. 8
      lib/private/connector/sabre/appenabledplugin.php

@ -9,7 +9,7 @@
namespace OC\Connector\Sabre;
use OCP\App\IManager;
use OCP\App\IAppManager;
use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\ServerPlugin;
@ -31,15 +31,15 @@ class AppEnabledPlugin extends ServerPlugin {
private $app;
/**
* @var \OCP\App\IManager
* @var \OCP\App\IAppManager
*/
private $appManager;
/**
* @param string $app
* @param \OCP\App\IManager $appManager
* @param \OCP\App\IAppManager $appManager
*/
public function __construct($app, IManager $appManager) {
public function __construct($app, IAppManager $appManager) {
$this->app = $app;
$this->appManager = $appManager;
}

Loading…
Cancel
Save