Skip to content

Commit

Permalink
change connection to illuminate db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
moeen-basra committed Sep 30, 2017
1 parent 0d3bed0 commit 6a387b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Bridge/AuthCodeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MoeenBasra\LaravelPassportMongoDB\Bridge;

use Jenssegers\Mongodb\Connection;
use Illuminate\Database\Connection;
use League\OAuth2\Server\Entities\AuthCodeEntityInterface;
use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface;

Expand All @@ -13,14 +13,14 @@ class AuthCodeRepository implements AuthCodeRepositoryInterface
/**
* The database connection.
*
* @var \Jenssegers\Mongodb\Connection
* @var \Illuminate\Database\Connection
*/
protected $database;

/**
* Create a new repository instance.
*
* @param \Jenssegers\Mongodb\Connection $database
* @param \Illuminate\Database\Connection $database
* @return void
*/
public function __construct(Connection $database)
Expand Down
4 changes: 2 additions & 2 deletions src/Bridge/RefreshTokenRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
/**
* The database connection.
*
* @var \Jenssegers\Mongodb\Connection
* @var \Illuminate\Database\Connection
*/
protected $database;

Expand All @@ -35,7 +35,7 @@ class RefreshTokenRepository implements RefreshTokenRepositoryInterface
* Create a new repository instance.
*
* @param \MoeenBasra\LaravelPassportMongoDB\Bridge\AccessTokenRepository $tokens
* @param \Jenssegers\Mongodb\Connection $database
* @param \Illuminate\Database\Connection $database
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
Expand Down

0 comments on commit 6a387b8

Please sign in to comment.