1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:54:03 +00:00
This commit is contained in:
Abrar Ahmad 2022-09-26 11:22:22 +05:00
parent 5617c035a1
commit 360643ba57

View file

@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Stancl\Tenancy\Bootstrappers;
use Illuminate\Bus\DatabaseBatchRepository;
use Illuminate\Database\Connection;
use Illuminate\Database\DatabaseManager;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant;
@ -13,10 +14,8 @@ class BatchTenancyBootstrapper implements TenancyBootstrapper
{
/**
* The previous database connection instance.
*
* @var \Illuminate\Database\Connection
*/
protected $previousConnection = null;
protected ?Connection $previousConnection = null;
public function __construct(
protected DatabaseBatchRepository $batchRepository,