We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce11287 commit 3aea8aaCopy full SHA for 3aea8aa
src/Symfony/Component/Notifier/Bridge/AmazonSns/AmazonSnsTransportFactory.php
@@ -31,8 +31,8 @@ public function create(Dsn $dsn): AmazonSnsTransport
31
32
$host = 'default' === $dsn->getHost() ? null : $dsn->getHost();
33
$port = $dsn->getPort();
34
- $sslmode = $dsn->getOption('sslmode', true);
35
- $protocol = $sslmode ? 'https' : 'http';
+ $sslmode = $dsn->getOption('sslmode', 'enable');
+ $protocol = $sslmode === 'disable' ? 'http' : 'https';
36
37
$options = null === $host ? [] : ['endpoint' => $protocol.'://'.$host.($port ? ':'.$port : '')];
38
0 commit comments