From 59ca25d57bbee6ec218d6d8c3fffa07291c1b5ce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 9 Jan 2025 09:54:49 +0000 Subject: [PATCH] Fix code style (php-cs-fixer) --- src/Commands/CreateUserWithRLSPolicies.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/CreateUserWithRLSPolicies.php b/src/Commands/CreateUserWithRLSPolicies.php index f403ed94..c6abf8ab 100644 --- a/src/Commands/CreateUserWithRLSPolicies.php +++ b/src/Commands/CreateUserWithRLSPolicies.php @@ -124,7 +124,7 @@ class CreateUserWithRLSPolicies extends Command } // Create RLS policy if the table doesn't have it or if the --force option is used - $createPolicy = $dropPolicy || !$tableRLSPolicy || $this->option('force'); + $createPolicy = $dropPolicy || ! $tableRLSPolicy || $this->option('force'); if ($createPolicy) { DB::statement($policyQuery); @@ -138,7 +138,7 @@ class CreateUserWithRLSPolicies extends Command } } - if (!empty($createdPolicies)) { + if (! empty($createdPolicies)) { $managerName = str($rlsPolicyManager::class)->afterLast('\\')->toString(); $this->components->info("RLS policies created for tables (using {$managerName}):");