diff --git a/README.md b/README.md index 9a2efbc..30130f9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ # AWSSNSHandler # -_AWSSNSHandler_ is a Throwable handler for use in [_Catcher_][a], a Throwable and error handling library for PHP. It sends throwables and errors to Amazon SNS topics. Right now _AWSSNSHandler_ only supports sending to email topics. SMS messages aren't supported at this time. +_AWSSNSHandler_ is a Throwable handler for use in [_Catcher_][a], a Throwable and error handling library for PHP. It sends throwables and errors to Amazon SNS topics. Right now _AWSSNSHandler_ only supports sending to standard topics. ## Requirements ## @@ -38,8 +38,8 @@ $client = new SnsClient([ 'version' => 'latest', 'region' => 'us-west-2', 'credentials' => [ - 'key' => 'AKIAFIMBZAFZZQL42RMH', - 'secret' => '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' + 'key' => '', + 'secret' => '' ] ]); $catcher = new Catcher(new AWSSNSHandler($client, 'arn:aws:sns:us-west-2:701867229025:ook_eek')); diff --git a/tests/cases/TestAWSSNSHandler.php b/tests/cases/TestAWSSNSHandler.php index 8ecc5d2..a425e94 100644 --- a/tests/cases/TestAWSSNSHandler.php +++ b/tests/cases/TestAWSSNSHandler.php @@ -21,7 +21,7 @@ use Aws\Sns\SnsClient, /** @covers \MensBeam\Catcher\AWSSNSHandler */ class TestAWSSNSHandler extends \PHPUnit\Framework\TestCase { protected ?SnsClient $client = null; - protected ?Handler $handler = null; + protected ?AWSSNSHandler $handler = null; public function setUp(): void {