Skip to content

Commit 9123456

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Notifier] [Bridges] Use CPP
1 parent b26ac50 commit 9123456

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

GatewayApiTransport.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ final class GatewayApiTransport extends AbstractTransport
2828
{
2929
protected const HOST = 'gatewayapi.com';
3030

31-
private string $authToken;
32-
private string $from;
33-
34-
public function __construct(#[\SensitiveParameter] string $authToken, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
35-
{
36-
$this->authToken = $authToken;
37-
$this->from = $from;
38-
31+
public function __construct(
32+
#[\SensitiveParameter] private string $authToken,
33+
private string $from,
34+
HttpClientInterface $client = null,
35+
EventDispatcherInterface $dispatcher = null,
36+
) {
3937
parent::__construct($client, $dispatcher);
4038
}
4139

0 commit comments

Comments
 (0)