Skip to content

Commit

Permalink
Set default $tenant value
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Aug 2, 2022
1 parent 3ea38bb commit e4a47f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tenancy.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Tenancy
*
* @var (Tenant&Model)|null
*/
public ?Tenant $tenant;
public ?Tenant $tenant = null;

// todo docblock
public ?Closure $getBootstrappersUsing = null;
Expand Down

0 comments on commit e4a47f3

Please sign in to comment.