8000
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 be8897b commit 7c075edCopy full SHA for 7c075ed
src/Symfony/Component/Notifier/Bridge/AmazonSns/AmazonSnsTransportFactory.php
@@ -31,8 +31,7 @@ public function create(Dsn $dsn): AmazonSnsTransport
31
32
$host = 'default' === $dsn->getHost() ? null : $dsn->getHost();
33
$port = $dsn->getPort();
34
- $sslmode = $dsn->getOption('sslmode', 'enable');
35
- $protocol = $sslmode === 'disable' ? 'http' : 'https';
+ $protocol = 'disable' === $dsn->getOption('sslmode') ? 'http' : 'https';
36
37
$options = null === $host ? [] : ['endpoint' => $protocol.'://'.$host.($port ? ':'.$port : '')];
38
0 commit comments