Skip to content

Commit a814be1

Browse files
authored
Merge pull request spatie#326 from medvinator/patch-1
docs: change method visibility in example
2 parents 41a70cc + 8bf98b9 commit a814be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced-usage/using-a-custom-tenant-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use Spatie\Multitenancy\Models\Tenant;
2929

3030
class CustomTenantModel extends Tenant
3131
{
32-
public static function booted()
32+
protected static function booted()
3333
{
3434
static::creating(fn(CustomTenantModel $model) => $model->createDatabase());
3535
}

0 commit comments

Comments
 (0)