Repo Interface für tests
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace MintyPHP\Service\Directory;
|
||||
|
||||
use MintyPHP\Repository\Access\RoleRepository;
|
||||
use MintyPHP\Repository\Org\DepartmentRepository;
|
||||
use MintyPHP\Repository\Tenant\TenantRepository;
|
||||
use MintyPHP\Repository\Access\RoleRepositoryInterface;
|
||||
use MintyPHP\Repository\Org\DepartmentRepositoryInterface;
|
||||
use MintyPHP\Repository\Tenant\TenantRepositoryInterface;
|
||||
use MintyPHP\Service\Access\RoleService;
|
||||
use MintyPHP\Service\Audit\AuditServicesFactory;
|
||||
use MintyPHP\Service\Org\DepartmentService;
|
||||
@@ -54,17 +54,17 @@ class DirectoryServicesFactory
|
||||
);
|
||||
}
|
||||
|
||||
public function createTenantRepository(): TenantRepository
|
||||
public function createTenantRepository(): TenantRepositoryInterface
|
||||
{
|
||||
return $this->directoryRepositoryFactory->createTenantRepository();
|
||||
}
|
||||
|
||||
public function createDepartmentRepository(): DepartmentRepository
|
||||
public function createDepartmentRepository(): DepartmentRepositoryInterface
|
||||
{
|
||||
return $this->directoryRepositoryFactory->createDepartmentRepository();
|
||||
}
|
||||
|
||||
public function createRoleRepository(): RoleRepository
|
||||
public function createRoleRepository(): RoleRepositoryInterface
|
||||
{
|
||||
return $this->directoryRepositoryFactory->createRoleRepository();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user