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

Fix code style (php-cs-fixer)

This commit is contained in:
github-actions[bot] 2025-05-29 10:52:24 +00:00
parent 233dbd0184
commit 82f9138666

View file

@ -263,7 +263,7 @@ class TableRLSManager implements RLSPolicyManager
protected function isColumnNullable(string $table, string $column): bool protected function isColumnNullable(string $table, string $column): bool
{ {
$result = $this->database->selectOne( $result = $this->database->selectOne(
"SELECT is_nullable FROM information_schema.columns WHERE table_name = ? AND column_name = ?", 'SELECT is_nullable FROM information_schema.columns WHERE table_name = ? AND column_name = ?',
[$table, $column] [$table, $column]
); );
@ -452,7 +452,7 @@ class TableRLSManager implements RLSPolicyManager
$path = [ $path = [
'dead_end' => false, 'dead_end' => false,
'recursion' => false, 'recursion' => false,
'steps' => array_merge([$foreign], $foreignPath['steps']) 'steps' => array_merge([$foreign], $foreignPath['steps']),
]; ];
if ($this->determineBetterPath($path, $shortestPath)) { if ($this->determineBetterPath($path, $shortestPath)) {