Skip to content

Commit 3870306

Browse files
committed
Rename method to publishToEndpoint - refs #8
1 parent 72f16c2 commit 3870306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/AmazonSNS.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,15 +467,15 @@ public function deleteEndpoint($deviceArn) {
467467
}
468468

469469
/**
470-
* Push a message to an Endpoint
470+
* Publish a message to an Endpoint
471471
*
472472
* @link http://docs.amazonwebservices.com/sns/latest/api/API_Publish.html
473473
* @param string $deviceArn
474474
* @param string $message
475475
* @return string
476476
* @throws InvalidArgumentException
477477
*/
478-
public function pushToEndpoint($deviceArn, $message) {
478+
public function publishToEndpoint($deviceArn, $message) {
479479
if (empty($deviceArn) || empty($message)) {
480480
throw new InvalidArgumentException('Must supply DeviceArn and Message');
481481
}

0 commit comments

Comments
 (0)