Skip to content

Commit afc0cd5

Browse files
committed
add more SensitiveParameter attributes
1 parent 9a4435a commit afc0cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Connection
9696
private \AMQPExchange $amqpDelayExchange;
9797
private int $lastActivityTime = 0;
9898

99-
public function __construct(array $connectionOptions, array $exchangeOptions, array $queuesOptions, AmqpFactory $amqpFactory = null)
99+
public function __construct(#[\SensitiveParameter] array $connectionOptions, array $exchangeOptions, array $queuesOptions, AmqpFactory $amqpFactory = null)
100100
{
101101
if (!\extension_loaded('amqp')) {
102102
throw new LogicException(sprintf('You cannot use the "%s" as the "amqp" extension is not installed.', __CLASS__));

0 commit comments

Comments
 (0)