We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe34824 + 354925b commit 4e107d8Copy full SHA for 4e107d8
1 file changed
src/ConnectionParameters.php
@@ -13,6 +13,8 @@
13
14
namespace Artemeon\Database;
15
16
+use SensitiveParameter;
17
+
18
/**
19
* Simple DTO to hold all relevant params required to open a db connection.
20
*/
@@ -28,7 +30,7 @@ final class ConnectionParameters
28
30
public function __construct(
29
31
private readonly string $host,
32
private readonly string $username,
- private readonly string $password,
33
+ #[SensitiveParameter] private readonly string $password,
34
private readonly string $database,
35
private readonly ?int $port,
36
private readonly string $driver,
0 commit comments