Repo Interface für tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace MintyPHP\Service\Security;
|
||||
|
||||
use MintyPHP\Repository\Security\RateLimitRepository;
|
||||
use MintyPHP\Repository\Security\RateLimitRepositoryInterface;
|
||||
|
||||
class SecurityServicesFactory
|
||||
{
|
||||
@@ -12,7 +12,7 @@ class SecurityServicesFactory
|
||||
private readonly SecurityRepositoryFactory $securityRepositoryFactory
|
||||
) {}
|
||||
|
||||
public function createRateLimitRepository(): RateLimitRepository
|
||||
public function createRateLimitRepository(): RateLimitRepositoryInterface
|
||||
{
|
||||
return $this->securityRepositoryFactory->createRateLimitRepository();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user