mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-07 04:24:02 +00:00
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. |
||
|---|---|---|
| .. | ||
| Concerns | ||
| Contracts | ||
| Exceptions | ||
| Models | ||
| TenantDatabaseManagers | ||
| DatabaseConfig.php | ||
| DatabaseManager.php | ||
| ParentModelScope.php | ||
| TenantCollection.php | ||
| TenantScope.php | ||