Skip to content

Commit c4e23cb

Browse files
author
Helperhaps
committed
Merge branch 'master' of github.com:jpush/jpush-api-php-client
2 parents d26ec5b + 1d58d4c commit c4e23cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ $response = $push()
231231
$platform = array('ios', 'android');
232232
$alert = 'Hello JPush';
233233
$tag = array('tag1', 'tag2');
234-
$regId = arrag('rid1', 'rid2');
234+
$regId = array('rid1', 'rid2');
235235
$ios_notification = array(
236236
'sound' => 'hello jpush',
237237
'badge' => 2,
@@ -271,7 +271,7 @@ $response = $push->setPlatform($platform)
271271
->iosNotification($alert, $ios_notification)
272272
->androidNotification($alert, $android_notification)
273273
->message($content, $message)
274-
->options($options);
274+
->options($options)
275275
->send();
276276
```
277277

0 commit comments

Comments
 (0)