Skip to content

Commit 0b7bd9c

Browse files
authored
Merge pull request #1149 from bafor/patch-1
sns context - fallback for not breaking BC with 10.10 previous versions
2 parents 70e59d0 + c093795 commit 0b7bd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sns/SnsContext.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(SnsClient $client, array $config)
3535
{
3636
$this->client = $client;
3737
$this->config = $config;
38-
$this->topicArns = $config['topic_arns'];
38+
$this->topicArns = $config['topic_arns'] ?? [];
3939
}
4040

4141
/**

0 commit comments

Comments
 (0)