mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-07-23 22:13:36 -04:00
Refactor CounterRepository
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Contracts\Komarev\GitHubProfileViewsCounter;
|
||||
|
||||
interface CounterRepositoryInterface
|
||||
{
|
||||
public function getCount(): int;
|
||||
public function getCountByUsername(string $username): int;
|
||||
|
||||
public function incrementCount(): void;
|
||||
public function incrementCountByUsername(string $username): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user