diff --git a/src/Channels/CloudWaChannel.php b/src/Channels/CloudWaChannel.php index b9c9d09..cd86501 100644 --- a/src/Channels/CloudWaChannel.php +++ b/src/Channels/CloudWaChannel.php @@ -21,7 +21,7 @@ public function send(mixed $notifiable, Notification $notification): void $message = $notification->toCloudWa($notifiable); - (new Cloudwa()) + (new Cloudwa) ->session($message['uuid'] ?? $message['session_uuid'] ?? null) ->file($message['image'] ?? $message['file'] ?? null) ->phone($message['phones'] ?? $message['phone'] ?? null) diff --git a/src/Channels/CloudWaOTPChannel.php b/src/Channels/CloudWaOTPChannel.php index c94adaf..9093ab9 100644 --- a/src/Channels/CloudWaOTPChannel.php +++ b/src/Channels/CloudWaOTPChannel.php @@ -23,7 +23,7 @@ public function send(mixed $notifiable, Notification $notification): void $message = $notification->toCloudWa($notifiable); - (new Cloudwa()) + (new Cloudwa) ->session($message['uuid'] ?? $message['session_uuid'] ?? null) ->file($message['image'] ?? $message['file'] ?? null) ->phone($message['phones'] ?? $message['phone'] ?? null)