Skip to content

Commit 6c83dcc

Browse files
committed
Update README with missing parameters
1 parent 8ffe16e commit 6c83dcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Available methods:
5656
* `listSubscriptions()`
5757
* `listSubscriptionsByTopic($topicArn)`
5858
* `listTopics()`
59-
* `publish($topicArn, $message)`
59+
* `publish($topicArn, $message, $subject, $messageStructure)`
6060
* `removePermission($topicArn, $label)`
6161
* `setTopicAttributes($topicArn, $attrName, $attrValue)`
6262
* `subscribe($topicArn, $protocol, $endpoint)`

lib/AmazonSNS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public function listTopics($nextToken = null) {
306306
*
307307
* @link http://docs.amazonwebservices.com/sns/latest/api/API_Publish.html
308308
* @param string $topicArn
309-
* @param string $message
309+
* @param string $message
310310
* @param string $subject [optional] Used when sending emails
311311
* @param string $messageStructure [optional] Used when you want to send a different message for each protocol.If you set MessageStructure to json, the value of the Message parameter must: be a syntactically valid JSON object; and contain at least a top-level JSON key of "default" with a value that is a string.
312312
* @return string

0 commit comments

Comments
 (0)