Skip to content

Commit bbe2f7e

Browse files
GromNaNfabpot
authored andcommitted
Hide sensitive information with SensitiveParameter attribute
1 parent 77471c2 commit bbe2f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MessageBirdTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class MessageBirdTransport extends AbstractTransport
3131
private string $token;
3232
private string $from;
3333

34-
public function __construct(string $token, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
34+
public function __construct(#[\SensitiveParameter] string $token, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
3535
{
3636
$this->token = $token;
3737
$this->from = $from;

0 commit comments

Comments
 (0)