Skip to content

Commit b314d0f

Browse files
committed
Add additional return types
1 parent 4211c2a commit b314d0f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/CmsmsChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(
1414
{
1515
}
1616

17-
public function send($notifiable, Notification $notification)
17+
public function send($notifiable, Notification $notification): void
1818
{
1919
if (!$recipient = $notifiable->routeNotificationFor('Cmsms')) {
2020
return;

src/CmsmsClient.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ public function __construct(
1717
protected GuzzleClient $client,
1818
protected string $productToken,
1919
) {
20-
$this->client = $client;
21-
$this->productToken = $productToken;
2220
}
2321

24-
public function send(CmsmsMessage $message, string $recipient)
22+
public function send(CmsmsMessage $message, string $recipient): void
2523
{
2624
if (is_null(Arr::get($message->toXmlArray(), 'FROM'))) {
2725
$message->originator(config('services.cmsms.originator'));

src/CmsmsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class CmsmsServiceProvider extends ServiceProvider
1212
{
13-
public function boot()
13+
public function boot(): void
1414
{
1515
$this->app->when(CmsmsChannel::class)
1616
->needs(CmsmsClient::class)

0 commit comments

Comments
 (0)