Skip to content

Commit

Permalink
Refactor Config\Repository dependencies to use Contract (#157)
Browse files Browse the repository at this point in the history
Fixes #156
  • Loading branch information
drbyte authored and stancl committed Oct 8, 2019
1 parent 75f0388 commit 14843b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Features/TenantConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Stancl\Tenancy\Features;

use Illuminate\Config\Repository;
use Illuminate\Contracts\Config\Repository;
use Stancl\Tenancy\Contracts\Feature;
use Stancl\Tenancy\Tenant;
use Stancl\Tenancy\TenantManager;
Expand Down
2 changes: 1 addition & 1 deletion src/TenancyBootstrappers/RedisTenancyBootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Stancl\Tenancy\TenancyBootstrappers;

use Illuminate\Config\Repository;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Support\Facades\Redis;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Tenant;
Expand Down
2 changes: 1 addition & 1 deletion src/TenantDatabaseManagers/MySQLDatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Stancl\Tenancy\TenantDatabaseManagers;

use Illuminate\Config\Repository;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Database\DatabaseManager as IlluminateDatabaseManager;
use Stancl\Tenancy\Contracts\TenantDatabaseManager;

Expand Down
2 changes: 1 addition & 1 deletion src/TenantDatabaseManagers/PostgreSQLDatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Stancl\Tenancy\TenantDatabaseManagers;

use Illuminate\Config\Repository;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Database\DatabaseManager as IlluminateDatabaseManager;
use Stancl\Tenancy\Contracts\TenantDatabaseManager;

Expand Down

0 comments on commit 14843b4

Please sign in to comment.