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

formatting

This commit is contained in:
Samuel Štancl 2025-07-02 15:42:12 +02:00
parent 870fb5d37c
commit aff8986c9b

View file

@ -64,7 +64,7 @@ class TableRLSManager implements RLSPolicyManager
{
/**
* When true, all valid constraints are considered while generating paths for RLS policies,
* unless explicitly marked with 'no-rls' comment.
* unless explicitly marked with a 'no-rls' comment.
*
* When false, only columns explicitly marked with 'rls' or 'rls table.column' comments are considered.
*/
@ -82,7 +82,7 @@ class TableRLSManager implements RLSPolicyManager
* The passed paths should be formatted like this:
* [
* 'table_name' => [...$stepsLeadingToTenantsTable]
* ].
* ]
*/
public function generateQueries(array $paths = []): array
{
@ -392,7 +392,7 @@ class TableRLSManager implements RLSPolicyManager
}
/**
* Retrieve table's comment constraints.
* Retrieve a table's comment constraints.
*
* Comment constraints are columns with comments
* formatted like "rls <foreign_table>.<foreign_column>".