1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

Fix $tenant type

This commit is contained in:
Samuel Štancl 2022-08-02 15:01:03 +02:00
parent e9b6de78b2
commit da0072bfe8

View file

@ -17,8 +17,12 @@ class Tenancy
{ {
use Macroable, Debuggable; use Macroable, Debuggable;
/** The current tenant. */ /**
public Tenant&Model $tenant; * The current tenant.
*
* @var (Tenant&Model)|null
*/
public ?Tenant $tenant;
// todo docblock // todo docblock
public ?Closure $getBootstrappersUsing = null; public ?Closure $getBootstrappersUsing = null;