From 496b0594bbacefb3757dbc9dd6699577f4692dac Mon Sep 17 00:00:00 2001 From: "Jesus E. Franco Martinez" Date: Thu, 30 Jul 2020 02:48:10 -0500 Subject: [PATCH] fix namespace --- README.md | 2 +- example/Notifications/ExampleNotification.php | 2 +- src/ApnHttp2Message.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87342bd..daec3d9 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ public function toApn($notifiable): ApnHttp2Message ] ) ->setTopic($notifiable->org->topic) - ->setCertificateFile($notifiable->org->topic) + ->setCertificateFile($notifiable->org->ios_cert_push_file) ; } ``` diff --git a/example/Notifications/ExampleNotification.php b/example/Notifications/ExampleNotification.php index 7a69d9d..7c37c4b 100644 --- a/example/Notifications/ExampleNotification.php +++ b/example/Notifications/ExampleNotification.php @@ -2,7 +2,7 @@ namespace App\Notifications; -use App\Channel\ApnHttp2Message; +use Apantle\ApnHttp2Notification\ApnHttp2Message; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; diff --git a/src/ApnHttp2Message.php b/src/ApnHttp2Message.php index 91a3ce2..11e9690 100644 --- a/src/ApnHttp2Message.php +++ b/src/ApnHttp2Message.php @@ -1,6 +1,6 @@