fix typing and package deps to satisfy DI compilation

This commit is contained in:
2022-07-03 21:31:57 +02:00
parent d375abf593
commit 20b70f9eed
3 changed files with 7 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ use Chill\MainBundle\Entity\User;
use DateTimeImmutable;
use LogicException;
use Psr\Log\LoggerInterface;
use Symfony\Contracts\HttpClient\HttpClientInterface;
use function array_key_exists;
/**
@@ -32,10 +33,10 @@ class MapCalendarToUser
private LoggerInterface $logger;
private MachineHttpClient $machineHttpClient;
private HttpClientInterface $machineHttpClient;
public function __construct(
MachineHttpClient $machineHttpClient,
HttpClientInterface $machineHttpClient,
LoggerInterface $logger
) {
$this->machineHttpClient = $machineHttpClient;