Skip to content

Commit 5b89211

Browse files
author
Igor Paramonov
committed
[sns] replaced custom parsing by dsn
1 parent daf511c commit 5b89211

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/sns/SnsConnectionFactory.php

-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public function __construct($config = 'sns:')
6060

6161
unset($config['dsn']);
6262
}
63-
if (\array_key_exists('topic_arns', $config) && \is_string($config['topic_arns'])) {
64-
$config['topic_arns'] = $this->extractTopicArns($config['topic_arns']);
65-
}
6663
} else {
6764
throw new \LogicException(\sprintf('The config must be either an array of options, a DSN string, null or instance of %s', AwsSnsClient::class));
6865
}

0 commit comments

Comments
 (0)