Skip to content

Commit ae65ca0

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents f8b561b + d205397 commit ae65ca0

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/Notifiable/HasSmsNumber.php

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

88
trait HasSmsNumber
99
{
10-
1110
/**
1211
* The number to send SMSs to
1312
*/

src/Notifications/SendsSms.php

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

88
trait SendsSms
99
{
10-
1110
/**
1211
* Get the sms driver
1312
*
@@ -26,6 +25,7 @@ public function getSmsDriver(): string
2625
public function getSmsChannel(): string
2726
{
2827
$sms_driver = $this->getSmsDriver();
28+
2929
return config('sms.channels.'.$sms_driver);
3030
}
3131

tests/Feature/SmsNotificationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Javaabu\SmsNotifications\Tests\Feature;
44

55
use Dash8x\DhiraaguSmsNotification\DhiraaguSmsNotificationChannel;
6+
use Illuminate\Foundation\Auth\User as Authenticatable;
67
use Illuminate\Notifications\Notifiable;
78
use Illuminate\Notifications\Notification as BaseNotification;
89
use Illuminate\Support\Facades\Notification;
@@ -11,7 +12,6 @@
1112
use Javaabu\SmsNotifications\Notifications\SendsSms;
1213
use Javaabu\SmsNotifications\Notifications\SmsNotification;
1314
use Javaabu\SmsNotifications\Tests\TestCase;
14-
use Illuminate\Foundation\Auth\User as Authenticatable;
1515
use NotificationChannels\Twilio\TwilioChannel;
1616

1717
class User extends Authenticatable implements SmsNotifiable
@@ -39,7 +39,7 @@ class TestNotification extends BaseNotification implements SmsNotification
3939
public function via($notifiable)
4040
{
4141
return [
42-
$this->getSmsChannel()
42+
$this->getSmsChannel(),
4343
];
4444
}
4545

tests/TestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
namespace Javaabu\SmsNotifications\Tests;
44

5-
use Orchestra\Testbench\TestCase as BaseTestCase;
65
use Javaabu\SmsNotifications\SmsNotificationsServiceProvider;
6+
use Orchestra\Testbench\TestCase as BaseTestCase;
77

88
abstract class TestCase extends BaseTestCase
99
{
10-
1110
public function setUp(): void
1211
{
1312
parent::setUp();

0 commit comments

Comments
 (0)