From 5b07afcc33a203008148b9391daae7b924144f8a Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 31 May 2023 13:44:22 +0200 Subject: [PATCH] Improve comment --- src/Database/Concerns/BelongsToTenant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Concerns/BelongsToTenant.php b/src/Database/Concerns/BelongsToTenant.php index b93eabbd..f6911854 100644 --- a/src/Database/Concerns/BelongsToTenant.php +++ b/src/Database/Concerns/BelongsToTenant.php @@ -21,7 +21,7 @@ trait BelongsToTenant public static function bootBelongsToTenant(): void { - // The queries performed for models present in the tenancy.models.rls are scoped using Postgres RLS instead of the global scope + // Queries of models present in the tenancy.models.rls config are scoped using Postgres RLS instead of the global scope if (! in_array(static::class, config('tenancy.models.rls'))) { static::addGlobalScope(new TenantScope); }