Skip to content

Commit b343bca

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Notifier] [Bridges] Use CPP
1 parent 229753d commit b343bca

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

LinkedInTransport.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@ final class LinkedInTransport extends AbstractTransport
3232
{
3333
protected const HOST = 'api.linkedin.com';
3434

35-
private string $authToken;
36-
private string $accountId;
37-
38-
public function __construct(#[\SensitiveParameter] string $authToken, string $accountId, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
39-
{
40-
$this->authToken = $authToken;
41-
$this->accountId = $accountId;
42-
35+
public function __construct(
36+
#[\SensitiveParameter] private string $authToken,
37+
private string $accountId,
38+
HttpClientInterface $client = null,
39+
EventDispatcherInterface $dispatcher = null,
40+
) {
4341
parent::__construct($client, $dispatcher);
4442
}
4543

0 commit comments

Comments
 (0)