Use public interface

This commit is contained in:
Lukas Reschke 2014-12-11 12:29:58 +01:00
parent 661dc789ce
commit d0716d2c7d
2 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ use OCP\IConfig;
*/
class Manager extends PublicEmitter implements IUserManager {
/**
* @var \OC_User_Interface[] $backends
* @var \OCP\UserInterface [] $backends
*/
private $backends = array();
@ -64,7 +64,7 @@ class Manager extends PublicEmitter implements IUserManager {
/**
* Get the active backends
* @return \OC_User_Interface[]
* @return \OCP\UserInterface[]
*/
public function getBackends() {
return $this->backends;
@ -73,7 +73,7 @@ class Manager extends PublicEmitter implements IUserManager {
/**
* register a user backend
*
* @param \OC_User_Interface $backend
* @param \OCP\UserInterface $backend
*/
public function registerBackend($backend) {
$this->backends[] = $backend;
@ -82,7 +82,7 @@ class Manager extends PublicEmitter implements IUserManager {
/**
* remove a user backend
*
* @param \OC_User_Interface $backend
* @param \OCP\UserInterface $backend
*/
public function removeBackend($backend) {
$this->cachedUsers = array();
@ -121,7 +121,7 @@ class Manager extends PublicEmitter implements IUserManager {
* get or construct the user object
*
* @param string $uid
* @param \OC_User_Interface $backend
* @param \OCP\UserInterface $backend
* @return \OC\User\User
*/
protected function getUserObject($uid, $backend) {

View File

@ -33,7 +33,7 @@ interface IUserManager {
/**
* Get the active backends
* @return \OC_User_Interface[]
* @return \OCP\UserInterface[]
*/
public function getBackends();