diff --git a/.gitignore b/.gitignore index cdd600d..8bb1338 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build composer.lock vendor -.idea/ \ No newline at end of file +.idea/ +.phpunit.result.cache diff --git a/.travis.yml b/.travis.yml index 55f32dd..637494c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ sudo: false php: - 7.2 - 7.3 + - 7.4 cache: directories: diff --git a/README.md b/README.md index a50d308..e1294ea 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To install this package you will need: - - Laravel >= 7.0 + - Laravel 7.x - PHP 7.2+ @@ -25,7 +25,7 @@ or edit the `composer.json` ``` "require": { - "linkstreet/laravel-sms": "^6.0" + "linkstreet/laravel-sms": "^5.1" } ``` diff --git a/src/Providers/SmsServiceProvider.php b/src/Providers/SmsServiceProvider.php index deae8bc..124abd2 100644 --- a/src/Providers/SmsServiceProvider.php +++ b/src/Providers/SmsServiceProvider.php @@ -2,18 +2,12 @@ namespace Linkstreet\LaravelSms\Providers; +use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Support\ServiceProvider; use Linkstreet\LaravelSms\SmsManager; -class SmsServiceProvider extends ServiceProvider +class SmsServiceProvider extends ServiceProvider implements DeferrableProvider { - /** - * Indicates if loading of the provider is deferred. - * - * @var bool - */ - protected $defer = true; - /** * Bootstrap the application services. *