diff --git a/composer.json b/composer.json index 4bd1d78..2731588 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "name": "designmynight/laravel-mongodb-passport", + "version": "1.2.0", "description": "A package to allow laravel/passport use with jenssegers/laravel-mongodb", "homepage": "https://github.com/designmynight/laravel-mongodb-passport", "license": "MIT", @@ -15,7 +16,8 @@ "require": { "illuminate/support": "^5.5", "jenssegers/mongodb": "3.3.* || 3.4.* || 3.5.*", - "laravel/passport": "4.0.* || 5.0.* || 6.0.* || 7.0.*" + "laravel/passport": "7.4.2", + "laravel/laravel": "5.*" }, "autoload": { "psr-4": { @@ -35,5 +37,11 @@ "DesignMyNight\\Mongodb\\MongodbPassportServiceProvider" ] } - } + }, + "repositories": [ + { + "type": "vcs", + "url": "git@github.com:jmosul/passport" + } + ] } diff --git a/src/Passport/Token.php b/src/Passport/Token.php index 52b4abf..787d84d 100644 --- a/src/Passport/Token.php +++ b/src/Passport/Token.php @@ -3,8 +3,9 @@ namespace DesignMyNight\Mongodb\Passport; use Jenssegers\Mongodb\Eloquent\Model; +use Laravel\Passport\Contracts\Token as TokenContract; -class Token extends Model +class Token extends Model implements TokenContract { /** * The primary key for the model.