refactor(arch): enforce gateway compliance and remove service-wrapping gateways
This commit is contained in:
@@ -4,8 +4,8 @@ namespace MintyPHP\Service\Org;
|
||||
|
||||
use MintyPHP\Repository\Org\DepartmentRepositoryInterface;
|
||||
use MintyPHP\Service\Audit\SystemAuditService;
|
||||
use MintyPHP\Service\Directory\DirectoryScopeGateway;
|
||||
use MintyPHP\Service\Directory\DirectorySettingsGateway;
|
||||
use MintyPHP\Service\Tenant\TenantScopeService;
|
||||
use MintyPHP\Service\User\UserServicesFactory;
|
||||
|
||||
class DepartmentService
|
||||
@@ -14,7 +14,7 @@ class DepartmentService
|
||||
private readonly UserServicesFactory $userServicesFactory,
|
||||
private readonly DepartmentRepositoryInterface $departmentRepository,
|
||||
private readonly DirectorySettingsGateway $settingsGateway,
|
||||
private readonly DirectoryScopeGateway $scopeGateway,
|
||||
private readonly TenantScopeService $scopeGateway,
|
||||
private readonly SystemAuditService $systemAuditService
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user