Repo Interface für tests
This commit is contained in:
@@ -4,13 +4,13 @@ namespace MintyPHP\Service\Security;
|
||||
|
||||
use DateTimeImmutable;
|
||||
use DateTimeZone;
|
||||
use MintyPHP\Repository\Security\RateLimitRepository;
|
||||
use MintyPHP\Repository\Security\RateLimitRepositoryInterface;
|
||||
|
||||
class RateLimiterService
|
||||
{
|
||||
private const HASH_ALGO = 'sha256';
|
||||
|
||||
public function __construct(private readonly RateLimitRepository $rateLimitRepository)
|
||||
public function __construct(private readonly RateLimitRepositoryInterface $rateLimitRepository)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user