mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 23:54:03 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
5e65ceb249
commit
59ca25d57b
1 changed files with 2 additions and 2 deletions
|
|
@ -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}):");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue