Skip to content

Commit fc3e02f

Browse files
author
Bas Schleijpen
committed
pass ci codestyle, remove unused code
1 parent 0ceeeb9 commit fc3e02f

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

src/WhatsAppChannel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function send($notifiable, Notification $notification): ?Response
4646
$message->getMessage()
4747
);
4848
}
49+
4950
return $this->whatsapp->sendTemplate(
5051
$message->recipient(),
5152
$message->configuredName(),

src/WhatsAppServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Support\ServiceProvider;
66
use Netflie\WhatsAppCloudApi\WhatsAppCloudApi;
7-
use Netflie\WhatsAppCloudApi\WebHook;
87

98
class WhatsAppServiceProvider extends ServiceProvider
109
{

src/WhatsAppTextMessage.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
namespace NotificationChannels\WhatsApp;
44

5-
use Netflie\WhatsAppCloudApi\Message\Template\Component as CloudApiComponent;
6-
use NotificationChannels\WhatsApp\Component\Button;
7-
use NotificationChannels\WhatsApp\Component\Component;
8-
95
class WhatsAppTextMessage
106
{
117
/**
@@ -23,7 +19,6 @@ class WhatsAppTextMessage
2319
*/
2420
protected static string $type = 'text';
2521

26-
2722
protected function __construct($to = '', $message = '')
2823
{
2924
$this->to = $to;

tests/WhatsAppTextMessageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ public function it_can_return_the_message_type()
4141

4242
$this->assertEquals('text', $message->type());
4343
}
44-
}
44+
}

0 commit comments

Comments
 (0)