From 76efbb4c0837856defb4610ac783e95f00024ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Puigdell=C3=ADvol?= Date: Thu, 8 Oct 2020 17:10:18 +0200 Subject: [PATCH] Updated the Pushok token creation method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b377af..622ba68 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ public function routeNotificationForApn() If you need to provide a custom configuration for a message you can provide an instance of a [Pushok](https://github.com/edamov/pushok) client and it will be used instead of the default one. ```php -$customClient = new Pushok\Client(new Pushok\Token($options)); +$customClient = new Pushok\Client(Pushok\AuthProvider\Token::create($options)); return ApnMessage::create() ->title('Account approved')