Skip to content

Commit 88f5d8b

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Notifier] [Bridges] Use CPP
1 parent 4594017 commit 88f5d8b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

ZulipTransport.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@
2727
*/
2828
final class ZulipTransport extends AbstractTransport
2929
{
30-
private string $email;
31-
private string $token;
32-
private string $channel;
33-
34-
public function __construct(string $email, #[\SensitiveParameter] string $token, string $channel, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
30+
public function __construct(
31+
private string $email,
32+
#[\SensitiveParameter] private string $token,
33+
private string $channel,
34+
HttpClientInterface $client = null,
35+
EventDispatcherInterface $dispatcher = null,
36+
)
3537
{
36-
$this->email = $email;
37-
$this->token = $token;
38-
$this->channel = $channel;
3938

4039
parent::__construct($client, $dispatcher);
4140
}

0 commit comments

Comments
 (0)