@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace Leadthread\Sms\Drivers; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Twilio\Rest\Client as Service; |
|
7 | 6 | use Leadthread\Sms\Drivers\Driver; |
8 | 7 | use Leadthread\Sms\Exceptions\InvalidPhoneNumberException; |
9 | 8 | use Leadthread\Sms\Interfaces\PhoneSearchParams; |
10 | 9 | use Leadthread\Sms\Responses\Twilio as TwilioResponse; |
10 | +use Twilio\Rest\Client as Service; |
|
11 | 11 | |
12 | 12 | class Twilio extends Driver |
13 | 13 | { |
@@ -2,9 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Leadthread\Sms\Responses; |
4 | 4 | |
5 | -use Leadthread\Sms\Interfaces\SmsResponse; |
|
6 | -use Catapult\PhoneNumbersCollection; |
|
7 | 5 | use Catapult\PhoneNumbers; |
6 | +use Catapult\PhoneNumbersCollection; |
|
8 | 7 | |
9 | 8 | class Bandwidth extends Response |
10 | 9 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Returns a SMS driver instance |
26 | - * @param mixed $driver An existing SMS driver instance to use |
|
26 | + * @param null|SendsSms $driver An existing SMS driver instance to use |
|
27 | 27 | * @return \Leadthread\Sms\Interfaces\SendsSms |
28 | 28 | */ |
29 | 29 | protected function getDriver($driver = null) |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace Leadthread\Sms; |
4 | 4 | |
5 | 5 | use Config; |
6 | -use Leadthread\Sms\Exceptions\InvalidPhoneNumberException; |
|
7 | 6 | use Leadthread\Sms\Factories\DriverFactory; |
8 | 7 | use Leadthread\Sms\Factories\SearchFactory; |
9 | 8 | use Leadthread\Sms\Interfaces\PhoneSearchParams; |
10 | 9 | use Leadthread\Sms\Interfaces\SendsSms; |
11 | -use Leadthread\Sms\Search\Search; |
|
12 | 10 | |
13 | 11 | class Sms |
14 | 12 | { |