Skip to content

Commit

Permalink
fix new API in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink committed Dec 3, 2015
1 parent fd0c9ae commit d7fb74b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ foreach ($endpoints as $endpoint) {
$webPush->flush();

// send one notification and flush directly
$webPush->sendNotification($endpoints[0], true);
$webPush->sendNotification($endpoints[0], null, null, true);
```

### GCM servers notes (Chrome)
Expand All @@ -57,7 +57,7 @@ $apiKeys = array(
);

$webPush = new WebPush($apiKeys);
$webPush->sendNotification($endpoint, true);
$webPush->sendNotification($endpoint, null, null, true);
```

### Changing the browser client
Expand Down

0 comments on commit d7fb74b

Please sign in to comment.