mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 12:13:13 +08:00
Added stricter types for mocks
This commit is contained in:
@@ -30,9 +30,9 @@ use function Functional\contains;
|
||||
|
||||
class NotifyVisitToWebHooksTest extends TestCase
|
||||
{
|
||||
private MockObject $httpClient;
|
||||
private MockObject $em;
|
||||
private MockObject $logger;
|
||||
private MockObject & ClientInterface $httpClient;
|
||||
private MockObject & EntityManagerInterface $em;
|
||||
private MockObject & LoggerInterface $logger;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user