1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 01:34:03 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
github-actions[bot] 2025-01-09 09:54:49 +00:00
parent 5e65ceb249
commit 59ca25d57b

View file

@ -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}):");