We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f16c2 commit 3870306Copy full SHA for 3870306
lib/AmazonSNS.php
@@ -467,15 +467,15 @@ public function deleteEndpoint($deviceArn) {
467
}
468
469
/**
470
- * Push a message to an Endpoint
+ * Publish a message to an Endpoint
471
*
472
* @link http://docs.amazonwebservices.com/sns/latest/api/API_Publish.html
473
* @param string $deviceArn
474
* @param string $message
475
* @return string
476
* @throws InvalidArgumentException
477
*/
478
- public function pushToEndpoint($deviceArn, $message) {
+ public function publishToEndpoint($deviceArn, $message) {
479
if (empty($deviceArn) || empty($message)) {
480
throw new InvalidArgumentException('Must supply DeviceArn and Message');
481
0 commit comments