Use interface

This commit is contained in:
Joas Schilling 2015-04-27 10:44:42 +02:00
parent e4977841b4
commit a4c314622a

View file

@ -22,18 +22,18 @@
namespace OC\Core\Command\Encryption;
use OC\Core\Command\Base;
use OC\Encryption\Manager;
use OCP\Encryption\IManager;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ListModules extends Base {
/** @var Manager */
/** @var IManager */
protected $encryptionManager;
/**
* @param Manager $encryptionManager
* @param IManager $encryptionManager
*/
public function __construct(Manager $encryptionManager) {
public function __construct(IManager $encryptionManager) {
parent::__construct();
$this->encryptionManager = $encryptionManager;
}