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

Fix use of @property across the codebase

This commit is contained in:
Samuel Štancl 2025-08-04 01:51:49 +02:00
parent 2d7206fb16
commit 0af256746a
2 changed files with 5 additions and 3 deletions

View file

@ -46,7 +46,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
* tenant instances passed to $closeInMemoryConnectionUsing closures,
* if you're setting that property as well.
*
* @property Closure(PDO, string)|null
* @var Closure(PDO, string)|null
*/
public static Closure|null $persistInMemoryConnectionUsing = null;
@ -59,7 +59,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
* NOTE: The parameter provided to the closure is the Tenant
* instance, not a PDO connection.
*
* @property Closure(Tenant)|null
* @var Closure(Tenant)|null
*/
public static Closure|null $closeInMemoryConnectionUsing = null;

View file

@ -43,7 +43,9 @@ class Tenancy
* bootstrappers that haven't been properly initialized
* (bootstrapped for the first time) previously.
*
* @property list<class-string<TenancyBootstrapper>>
* @internal
*
* @var list<class-string<TenancyBootstrapper>>
*/
public array $initializedBootstrappers = [];