mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 23:54:03 +00:00
Fix PDO serialization exception (#289)
* Fix PDO serialization exception when queueing tenant creation * Apply fixes from StyleCI * Fix $this->database() calls
This commit is contained in:
parent
01f080450d
commit
95ee295da1
4 changed files with 36 additions and 27 deletions
|
|
@ -4,12 +4,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace Stancl\Tenancy\Contracts\Future;
|
||||
|
||||
use Illuminate\Database\Connection;
|
||||
|
||||
/**
|
||||
* This interface *might* be part of the TenantDatabaseManager interface in 3.x.
|
||||
*/
|
||||
interface CanSetConnection
|
||||
{
|
||||
public function setConnection(Connection $connection);
|
||||
public function setConnection(string $connection): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue