From 8bee3281ec8fe9f3ee86fedfe7f5d37550e6657b Mon Sep 17 00:00:00 2001 From: Ollie Read Date: Sun, 17 Nov 2024 17:07:20 +0000 Subject: [PATCH] chore: Fix phpstan errors on IsTenant concern --- src/Database/Eloquent/Concerns/IsTenant.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Database/Eloquent/Concerns/IsTenant.php b/src/Database/Eloquent/Concerns/IsTenant.php index cb01603..cd9ca72 100644 --- a/src/Database/Eloquent/Concerns/IsTenant.php +++ b/src/Database/Eloquent/Concerns/IsTenant.php @@ -27,6 +27,7 @@ trait IsTenant */ public function getTenantIdentifier(): string { + /** @phpstan-ignore return.type */ return $this->getAttribute($this->getTenantIdentifierName()); } @@ -57,6 +58,7 @@ public function getTenantIdentifierName(): string */ public function getTenantKey(): int|string { + /** @phpstan-ignore return.type */ return $this->getKey(); }