Skip to content

Commit

Permalink
HttpClientInterface is now a required argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hafael committed Nov 27, 2023
1 parent ff8d19a commit 8268fcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AzureMailerApiTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ class AzureMailerApiTransport extends AbstractApiTransport
* @param string|null $apiVersion
* @param bool $engagementTracking
* @param HttpClientInterface $client
* @param EventDispatcherInterface $dispatcher
* @param LoggerInterface $logger
* @return void
*/
public function __construct(string $endpoint, string $key, string $apiVersion = null, bool $engagementTracking = true, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
public function __construct(string $endpoint, string $key, string $apiVersion = null, bool $engagementTracking = true, HttpClientInterface $client, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
{
$this->client = $client;
$this->endpoint = $endpoint;
Expand Down

0 comments on commit 8268fcd

Please sign in to comment.