diff --git a/source/docs/v3/tenant-identification.blade.md b/source/docs/v3/tenant-identification.blade.md index 68dca6a..6b508d7 100644 --- a/source/docs/v3/tenant-identification.blade.md +++ b/source/docs/v3/tenant-identification.blade.md @@ -40,7 +40,7 @@ The middleware for this method is `Stancl\Tenancy\Middleware\InitializeTenancyBy If you'd like to use subdomains and domains at the same time, use the `Stancl\Tenancy\Middleware\InitializeTenancyByDomainOrSubdomain` middleware. -Records that contain **dots** in the `domain` column will be treated as domains (hostnames) and records that don't contain any dots will be treated as subdomains. +Records that contain **dots** in the `domain` column will be treated as subdomains and records that don't contain any dots will be treated as domains (hostnames). ## Path identification diff --git a/source/docs/v3/upgrading.blade.md b/source/docs/v3/upgrading.blade.md index 7402b94..b9fbd67 100644 --- a/source/docs/v3/upgrading.blade.md +++ b/source/docs/v3/upgrading.blade.md @@ -20,6 +20,8 @@ That said, automatic tenancy will still work the same way. ```php use Stancl\Tenancy\Tenant; + use Illuminate\Support\Str; + tenancy() ->all() ->each(function (Tenant $tenant) {