1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 21:44:06 +00:00
tenancy/src/ResourceSyncing
Punyapal Shah e3701f1cc1
[4.x] Add more relation type annotations (#1424)
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.
2025-12-28 23:20:05 +01:00
..
Events Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-26 05:52:48 +01:00
Listeners Syncing: Add DeleteAllTenantMappings listener 2025-11-26 05:52:55 +01:00
CentralResourceNotAvailableInPivotException.php [MINOR BC BREAK] Syncing: PivotWithRelation -> PivotWithCentralResource 2025-11-26 05:52:55 +01:00
ModelNotSyncMasterException.php reimplement broadcasting channel helpers to support model binding 2024-10-03 21:12:09 +02:00
ParsesCreationAttributes.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
PivotWithCentralResource.php [MINOR BC BREAK] Syncing: PivotWithRelation -> PivotWithCentralResource 2025-11-26 05:52:55 +01:00
ResourceSyncing.php [4.x] Add more relation type annotations (#1424) 2025-12-28 23:20:05 +01:00
Syncable.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-26 05:52:48 +01:00
SyncMaster.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-26 05:52:48 +01:00
TenantMorphPivot.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
TenantPivot.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
TriggerSyncingEvents.php Syncing: support morph maps in TriggerSyncingEvents 2025-12-12 03:43:52 +01:00