From 541d7c3a00974da6a8161b5b131dc8e6e792628d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 31 Dec 2024 00:30:27 +0100 Subject: [PATCH] narrow type --- src/ResourceSyncing/SyncMaster.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ResourceSyncing/SyncMaster.php b/src/ResourceSyncing/SyncMaster.php index f419ef7b..aba1dfca 100644 --- a/src/ResourceSyncing/SyncMaster.php +++ b/src/ResourceSyncing/SyncMaster.php @@ -7,18 +7,17 @@ namespace Stancl\Tenancy\ResourceSyncing; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; -use Stancl\Tenancy\Contracts\Tenant; use Stancl\Tenancy\Database\Contracts\TenantWithDatabase; // todo@move move all resource syncing-related things to a separate namespace? /** - * @property-read Tenant[]|Collection $tenants + * @property-read TenantWithDatabase[]|Collection $tenants */ interface SyncMaster extends Syncable { /** - * @return BelongsToMany + * @return BelongsToMany */ public function tenants(): BelongsToMany;