Skip to content

Commit

Permalink
Laravel 7.x upgrade changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshgurusamy committed Mar 30, 2020
1 parent 625d0e2 commit 06c5016
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build
composer.lock
vendor
.idea/
.idea/
.phpunit.result.cache
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sudo: false
php:
- 7.2
- 7.3
- 7.4

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

To install this package you will need:

- Laravel >= 7.0
- Laravel 7.x
- PHP 7.2+


Expand All @@ -25,7 +25,7 @@ or edit the `composer.json`

```
"require": {
"linkstreet/laravel-sms": "^6.0"
"linkstreet/laravel-sms": "^5.1"
}
```

Expand Down
10 changes: 2 additions & 8 deletions src/Providers/SmsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 06c5016

Please sign in to comment.