From 28f2d5365eeb20a99bf2057378942ac8ef95df7c Mon Sep 17 00:00:00 2001 From: envercigal <31448593+envercigal@users.noreply.github.com> Date: Tue, 9 Aug 2022 17:41:19 +0300 Subject: [PATCH] Change timeout (#6) * Add changeable appId feature * Add set app id feature for message * Add change app id test * Update readme * Code refactoring * Change timeout * Fix lint Co-authored-by: Enver Cigal --- src/OneSignalChannel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneSignalChannel.php b/src/OneSignalChannel.php index b436dd7..2d7f470 100644 --- a/src/OneSignalChannel.php +++ b/src/OneSignalChannel.php @@ -10,7 +10,7 @@ class OneSignalChannel { protected string $appId; - protected int $timeout = 10; + protected int $timeout = 0; const ENDPOINT = 'https://onesignal.com/api/v1/notifications';