We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0c9ae commit d7fb74bCopy full SHA for d7fb74b
README.md
@@ -36,7 +36,7 @@ foreach ($endpoints as $endpoint) {
36
$webPush->flush();
37
38
// send one notification and flush directly
39
-$webPush->sendNotification($endpoints[0], true);
+$webPush->sendNotification($endpoints[0], null, null, true);
40
```
41
42
### GCM servers notes (Chrome)
@@ -57,7 +57,7 @@ $apiKeys = array(
57
);
58
59
$webPush = new WebPush($apiKeys);
60
-$webPush->sendNotification($endpoint, true);
+$webPush->sendNotification($endpoint, null, null, true);
61
62
63
### Changing the browser client
0 commit comments