File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@ final class MessageMediaTransport extends AbstractTransport
2929
{
3030
protected const HOST = 'api.messagemedia.com';
3131

32-
private string $apiKey;
33-
private string $apiSecret;
34-
private ?string $from;
35-
36-
public function __construct(string $apiKey, #[\SensitiveParameter] string $apiSecret, string $from = null, HttpClientInterface $client = null, EventDiserInterface $diser = null)
32+
public function __construct(
33+
private string $apiKey,
34+
#[\SensitiveParameter] private string $apiSecret,
35+
private ?string $from = null,
36+
HttpClientInterface $client = null,
37+
EventDiserInterface $diser = null,
38+
)
3739
{
38-
$this->apiKey = $apiKey;
39-
$this->apiSecret = $apiSecret;
40-
$this->from = $from;
41-
4240
parent::__construct($client, $diser);
4341
}
4442

0 commit comments

Comments
 (0)