1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-07 04:24:02 +00:00
tenancy/src/Database
Samuel Stancl c32f52ce7c
phpstan fix: Scope generics
phpstan started failing with '... implements generic interface
Illuminate\Database\Eloquent\Scope but does not specify its types:
TModel'. We solve this by adding an implements docblock to the scopes
implementing that interface. They're fairly generic - we just use the
Model type itself in the code - so we use Model for the type parameter.
2026-04-15 11:23:12 +02:00
..
Concerns phpstan fix: Scope generics 2026-04-15 11:23:12 +02:00
Contracts Tenant DB manager database() -> connection() 2024-09-12 18:34:45 +02:00
Exceptions Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
Models [4.x] Make the ImpersonationToken model configurable (#1335) 2025-03-18 18:42:08 +01:00
TenantDatabaseManagers Minor fixes 2025-10-22 12:58:45 +02:00
DatabaseConfig.php Refactor DatabaseConfig, minor DB manager improvements, resolve todos 2025-10-13 16:01:34 +02:00
DatabaseManager.php Supported named in-memory SQLite databases (#69) 2024-11-25 04:48:52 +01:00
ParentModelScope.php phpstan fix: Scope generics 2026-04-15 11:23:12 +02:00
TenantCollection.php fix phpstan errors 2024-08-06 04:35:25 +02:00
TenantScope.php phpstan fix: Scope generics 2026-04-15 11:23:12 +02:00