Added more stricter types for mocks

This commit is contained in:
Alejandro Celaya
2022-10-24 19:59:03 +02:00
parent 51f243995a
commit 1650499a38
18 changed files with 35 additions and 34 deletions

View File

@@ -23,9 +23,9 @@ use function range;
class GeolocationDbUpdaterTest extends TestCase
{
private MockObject $dbUpdater;
private MockObject $geoLiteDbReader;
private MockObject $lock;
private MockObject & DbUpdaterInterface $dbUpdater;
private MockObject & Reader $geoLiteDbReader;
private MockObject & Lock\LockInterface $lock;
protected function setUp(): void
{