Skip to content

Commit 381b53c

Browse files
committed
fix typo
1 parent ea24b46 commit 381b53c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WebPush can be used to send notifications to endpoints which server delivers web
99
the [Web Push API specification](http://www.w3.org/TR/push-api/).
1010
As it is standardized, you don't have to worry about what server type it relies on.
1111
__*Currently, WebPush doesn't support payloads at all.
12-
It is under development (see ["payload" branch](https://github.com/Minishlink/web-push/tree/payload).*__
12+
It is under development (see ["payload" branch](https://github.com/Minishlink/web-push/tree/payload)).*__
1313

1414
```php
1515
<?php
@@ -46,8 +46,7 @@ $apiKeys = array(
4646
);
4747

4848
$webPush = new WebPush($apiKeys);
49-
$webPush->sendNotification($endpoints[0]); // send one notification
50-
$webPush->sendNotifications($endpoints); // send multiple notifications
49+
$webPush->sendNotification($endpoint);
5150
```
5251

5352
### Changing the browser client
@@ -60,6 +59,7 @@ Timeout is configurable in the constructor.
6059

6160
use Minishlink\WebPush\WebPush;
6261

62+
$client = new \Buzz\Client\Curl();
6363
$webPush = new WebPush(array(), null, null, $client);
6464
```
6565

@@ -80,9 +80,6 @@ $browser = $webPush->getBrowser();
8080
### Is the API stable?
8181
Not until the [Push API spec](http://www.w3.org/TR/push-api/) is finished.
8282

83-
### What about security?
84-
Internally, WebPush uses the [phpecc](https://github.com/phpecc/phpecc) Elliptic Curve Cryptography library.
85-
8683
### How to solve "SSL certificate problem: unable to get local issuer certificate" ?
8784
Your installation lacks some certificates.
8885

0 commit comments

Comments
 (0)