Skip to content

Commit 591f40c

Browse files
jakub-dibalapionl
authored andcommitted
Add SensitiveParameter attribute
1 parent 17358f0 commit 591f40c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Headers/HttpAuthorizationHeader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
class HttpAuthorizationHeader implements HeadersInterface
1010
{
1111
public function __construct(
12-
public readonly string $username,
13-
public readonly string $password,
12+
#[\SensitiveParameter] public readonly string $username,
13+
#[\SensitiveParameter] public readonly string $password,
1414
) {
1515
}
1616

0 commit comments

Comments
 (0)