Skip to content

Commit c093795

Browse files
authored
fallback for not breaking BC
1 parent 70e59d0 commit c093795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sns/SnsContext.php

Lines changed: 1 addition & 1 deletion
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)