mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 15:44:04 +00:00
This pull request adds improved PHPDoc type annotations to several Eloquent relationship methods, enhancing static analysis and developer experience. These changes clarify the expected return types for relationships, making the codebase easier to understand and work with. Relationship method type annotations: * Added a detailed return type annotation to the `tenant` method in the `BelongsToTenant` trait, specifying the related model and the current class. * Added a detailed return type annotation to the `domains` method in the `HasDomains` trait, specifying the related model and the current class. * Added a detailed return type annotation to the `tenants` method in the `ResourceSyncing` class, specifying the related model and the current class. |
||
|---|---|---|
| .. | ||
| Actions | ||
| Bootstrappers | ||
| Commands | ||
| Concerns | ||
| Contracts | ||
| Controllers | ||
| Database | ||
| Enums | ||
| Events | ||
| Exceptions | ||
| Facades | ||
| Features | ||
| Jobs | ||
| Listeners | ||
| Middleware | ||
| Overrides | ||
| Resolvers | ||
| ResourceSyncing | ||
| RLS | ||
| UniqueIdentifierGenerators | ||
| helpers.php | ||
| Tenancy.php | ||
| TenancyServiceProvider.php | ||